com.retek.component.payment.impl
Class PaymentSettlementTransactionImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.commons.component.xml.impl.ElementObjectImpl
              extended bycom.retek.component.payment.impl.PaymentSettlementElementImpl
                  extended bycom.retek.component.payment.impl.PaymentSettlementTransactionImpl
All Implemented Interfaces:
BusinessObject, ElementObject, PaymentSettlementElement, PaymentSettlementTransaction, SecondClassObject

public class PaymentSettlementTransactionImpl
extends PaymentSettlementElementImpl
implements PaymentSettlementTransaction


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.payment.PaymentSettlementTransaction
TRANSACTION_TYPE_CREDIT_CARD_CREDIT, TRANSACTION_TYPE_CREDIT_CARD_SALE
 
Constructor Summary
PaymentSettlementTransactionImpl(DistributedContext context, PaymentSettlementTransactionDto dto)
           
 
Method Summary
 void accept(PaymentSettlementElementVisitor txnVisitor)
          Accept a transaction visitor.
 void addElement(ElementObject element)
           
 void addItem(PaymentSettlementItem item)
           
 java.lang.String getBannerCode()
           
 java.lang.String getChannelTypeCode()
           
 PaymentSettlementCustomer getCustomer()
           
 java.lang.String getCustomerOrderNumber()
           
 java.util.List getItems()
           
 PaymentSettlementPayment getPayment()
           
protected  PaymentSettlementTransactionDto getPaymentSettlementTransactionDto()
           
 RDate getTransactionDate()
           
 java.lang.String getTransactionId()
           
 java.lang.String getTransactionType()
           
 void setAttributes(java.util.Map attributes)
           
 void setBannerCode(java.lang.String bannerId)
           
 void setChannelTypeCode(java.lang.String channelTypeId)
           
 void setCustomer(PaymentSettlementCustomer customer)
           
 void setCustomerOrderNumber(java.lang.String orderNumber)
           
 void setPayment(PaymentSettlementPayment payment)
           
 void setTransactionDate(RDate transactionDate)
           
 void setTransactionId(java.lang.String transactionId)
           
 void setTransactionType(java.lang.String transactionCode)
           
 java.lang.String toXml()
          Convert the element to an xml string.
 
Methods inherited from class com.retek.component.payment.impl.PaymentSettlementElementImpl
getDto
 
Methods inherited from class com.retek.commons.component.xml.impl.ElementObjectImpl
getElementId, getElementObjectDto, getParentElementId, setElementId, setParentElementId, setSubElements, toString
 
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl
equals, getGenericDto, hashCode, setGenericDto, 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.commons.component.xml.ElementObject
getElementId, getParentElementId
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

PaymentSettlementTransactionImpl

public PaymentSettlementTransactionImpl(DistributedContext context,
                                        PaymentSettlementTransactionDto dto)
Method Detail

getPaymentSettlementTransactionDto

protected PaymentSettlementTransactionDto getPaymentSettlementTransactionDto()

getTransactionId

public java.lang.String getTransactionId()
Specified by:
getTransactionId in interface PaymentSettlementTransaction

getTransactionType

public java.lang.String getTransactionType()
Specified by:
getTransactionType in interface PaymentSettlementTransaction

getTransactionDate

public RDate getTransactionDate()
Specified by:
getTransactionDate in interface PaymentSettlementTransaction

getBannerCode

public java.lang.String getBannerCode()
Specified by:
getBannerCode in interface PaymentSettlementTransaction

getChannelTypeCode

public java.lang.String getChannelTypeCode()
Specified by:
getChannelTypeCode in interface PaymentSettlementTransaction

getCustomerOrderNumber

public java.lang.String getCustomerOrderNumber()
Specified by:
getCustomerOrderNumber in interface PaymentSettlementTransaction

getCustomer

public PaymentSettlementCustomer getCustomer()
                                      throws SystemException
Specified by:
getCustomer in interface PaymentSettlementTransaction
Throws:
SystemException

getItems

public java.util.List getItems()
                        throws SystemException
Specified by:
getItems in interface PaymentSettlementTransaction
Throws:
SystemException

getPayment

public PaymentSettlementPayment getPayment()
                                    throws SystemException
Specified by:
getPayment in interface PaymentSettlementTransaction
Throws:
SystemException

setTransactionId

public void setTransactionId(java.lang.String transactionId)
Specified by:
setTransactionId in interface PaymentSettlementTransaction

setTransactionType

public void setTransactionType(java.lang.String transactionCode)
Specified by:
setTransactionType in interface PaymentSettlementTransaction

setTransactionDate

public void setTransactionDate(RDate transactionDate)
Specified by:
setTransactionDate in interface PaymentSettlementTransaction

setBannerCode

public void setBannerCode(java.lang.String bannerId)
Specified by:
setBannerCode in interface PaymentSettlementTransaction

setChannelTypeCode

public void setChannelTypeCode(java.lang.String channelTypeId)
Specified by:
setChannelTypeCode in interface PaymentSettlementTransaction

setCustomerOrderNumber

public void setCustomerOrderNumber(java.lang.String orderNumber)
Specified by:
setCustomerOrderNumber in interface PaymentSettlementTransaction

setCustomer

public void setCustomer(PaymentSettlementCustomer customer)
Specified by:
setCustomer in interface PaymentSettlementTransaction

addItem

public void addItem(PaymentSettlementItem item)
Specified by:
addItem in interface PaymentSettlementTransaction

setPayment

public void setPayment(PaymentSettlementPayment payment)
Specified by:
setPayment in interface PaymentSettlementTransaction

addElement

public void addElement(ElementObject element)
Specified by:
addElement in class ElementObjectImpl

accept

public void accept(PaymentSettlementElementVisitor txnVisitor)
            throws SystemException
Description copied from interface: PaymentSettlementElement
Accept a transaction visitor.

Specified by:
accept in interface PaymentSettlementElement
Parameters:
txnVisitor - transaction visitor
Throws:
SystemException

toXml

public java.lang.String toXml()
                       throws SystemException,
                              XmlBuilderException
Description copied from interface: ElementObject
Convert the element to an xml string.

Specified by:
toXml in interface ElementObject
Returns:
String xml element string
Throws:
SystemException
XmlBuilderException

setAttributes

public void setAttributes(java.util.Map attributes)
Specified by:
setAttributes in class ElementObjectImpl


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