org.broadleafcommerce.core.payment.service
Class PaymentContextImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.service.PaymentContextImpl
All Implemented Interfaces:
PaymentContext

public class PaymentContextImpl
extends Object
implements PaymentContext


Field Summary
protected  Money originalPaymentAmount
           
protected  PaymentInfo paymentInfo
           
protected  Referenced referencedPaymentInfo
           
protected  Money remainingPaymentAmount
           
protected  String transactionId
           
protected  String userName
           
 
Constructor Summary
PaymentContextImpl(Money originalPaymentAmount, Money remainingPaymentAmount, PaymentInfo paymentInfo, Referenced referencedPaymentInfo, String userName)
           
 
Method Summary
 Money getOriginalPaymentAmount()
           
 PaymentInfo getPaymentInfo()
           
 Referenced getReferencedPaymentInfo()
           
 Money getRemainingPaymentAmount()
           
 String getTransactionId()
           
 String getUserName()
           
 void setTransactionId(String transactionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalPaymentAmount

protected Money originalPaymentAmount

remainingPaymentAmount

protected Money remainingPaymentAmount

paymentInfo

protected PaymentInfo paymentInfo

referencedPaymentInfo

protected Referenced referencedPaymentInfo

transactionId

protected String transactionId

userName

protected String userName
Constructor Detail

PaymentContextImpl

public PaymentContextImpl(Money originalPaymentAmount,
                          Money remainingPaymentAmount,
                          PaymentInfo paymentInfo,
                          Referenced referencedPaymentInfo,
                          String userName)
Method Detail

getOriginalPaymentAmount

public Money getOriginalPaymentAmount()
Specified by:
getOriginalPaymentAmount in interface PaymentContext

getRemainingPaymentAmount

public Money getRemainingPaymentAmount()
Specified by:
getRemainingPaymentAmount in interface PaymentContext

getPaymentInfo

public PaymentInfo getPaymentInfo()
Specified by:
getPaymentInfo in interface PaymentContext

getReferencedPaymentInfo

public Referenced getReferencedPaymentInfo()
Specified by:
getReferencedPaymentInfo in interface PaymentContext

getTransactionId

public String getTransactionId()
Specified by:
getTransactionId in interface PaymentContext

setTransactionId

public void setTransactionId(String transactionId)
Specified by:
setTransactionId in interface PaymentContext

getUserName

public String getUserName()
Specified by:
getUserName in interface PaymentContext


Copyright © 2012. All Rights Reserved.