public class PaymentContextImpl extends java.lang.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 java.lang.String |
transactionId |
protected java.lang.String |
userName |
| Constructor and Description |
|---|
PaymentContextImpl(Money transactionAmount,
Money remainingTransactionAmount,
PaymentInfo paymentInfo,
Referenced referencedPaymentInfo,
java.lang.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.
|
java.lang.String |
getTransactionId() |
java.lang.String |
getUserName() |
void |
setRemainingTransactionAmount(Money remainingTransactionAmount)
Sets the remaining transaction amount.
|
void |
setTransactionAmount(Money transactionAmount)
Sets the transaction amount
|
void |
setTransactionId(java.lang.String transactionId) |
protected Money originalPaymentAmount
protected Money remainingPaymentAmount
protected Money transactionAmount
protected Money remainingTransactionAmount
protected PaymentInfo paymentInfo
protected Referenced referencedPaymentInfo
protected java.lang.String transactionId
protected java.lang.String userName
public PaymentContextImpl(Money transactionAmount, Money remainingTransactionAmount, PaymentInfo paymentInfo, Referenced referencedPaymentInfo, java.lang.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 java.lang.String getTransactionId()
getTransactionId in interface PaymentContextpublic void setTransactionId(java.lang.String transactionId)
setTransactionId in interface PaymentContextpublic java.lang.String getUserName()
getUserName in interface PaymentContextCopyright © 2018. All Rights Reserved.