public class PaymentContextImpl extends Object implements PaymentContext
| Modifier and Type | Field and Description |
|---|---|
protected Money |
originalPaymentAmount |
protected PaymentInfo |
paymentInfo |
protected Referenced |
referencedPaymentInfo |
protected Money |
remainingPaymentAmount |
protected Money |
remainingTransactionAmount |
protected Money |
transactionAmount |
protected String |
transactionId |
protected String |
userName |
| Constructor and Description |
|---|
PaymentContextImpl(Money transactionAmount,
Money remainingTransactionAmount,
PaymentInfo paymentInfo,
Referenced referencedPaymentInfo,
String userName) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getOriginalPaymentAmount()
Deprecated.
|
PaymentInfo |
getPaymentInfo() |
Referenced |
getReferencedPaymentInfo() |
Money |
getRemainingPaymentAmount()
Deprecated.
|
Money |
getRemainingTransactionAmount()
Returns the remaining transaction amount that needs to be processed.
|
Money |
getTransactionAmount()
The amount that the system should attempt to process.
|
String |
getTransactionId() |
String |
getUserName() |
void |
setRemainingTransactionAmount(Money remainingTransactionAmount)
Sets the remaining transaction amount.
|
void |
setTransactionAmount(Money transactionAmount)
Sets the transaction amount
|
void |
setTransactionId(String transactionId) |
protected Money originalPaymentAmount
protected Money remainingPaymentAmount
protected Money transactionAmount
protected Money remainingTransactionAmount
protected PaymentInfo paymentInfo
protected Referenced referencedPaymentInfo
protected String transactionId
protected String userName
public PaymentContextImpl(Money transactionAmount, Money remainingTransactionAmount, PaymentInfo paymentInfo, Referenced referencedPaymentInfo, String userName)
@Deprecated public Money getOriginalPaymentAmount()
getOriginalPaymentAmount in interface PaymentContextPaymentContext.getTransactionAmount()@Deprecated public Money getRemainingPaymentAmount()
getRemainingPaymentAmount in interface PaymentContextPaymentContext.getRemainingTransactionAmount()public Money getTransactionAmount()
PaymentContextgetTransactionAmount in interface PaymentContextpublic void setTransactionAmount(Money transactionAmount)
PaymentContextsetTransactionAmount in interface PaymentContextpublic Money getRemainingTransactionAmount()
PaymentContextgetRemainingTransactionAmount in interface PaymentContextpublic void setRemainingTransactionAmount(Money remainingTransactionAmount)
PaymentContextsetRemainingTransactionAmount in interface PaymentContextpublic PaymentInfo getPaymentInfo()
getPaymentInfo in interface PaymentContextpublic Referenced getReferencedPaymentInfo()
getReferencedPaymentInfo in interface PaymentContextpublic String getTransactionId()
getTransactionId in interface PaymentContextpublic void setTransactionId(String transactionId)
setTransactionId in interface PaymentContextpublic String getUserName()
getUserName in interface PaymentContextCopyright © 2014. All Rights Reserved.