Class TransactionWithExecutableAmount
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.utils.TransactionWithExecutableAmount
- All Implemented Interfaces:
Serializable
A data structure to keep track of a
PaymentTransaction and its executable amount.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountAmount that is executable for the transaction type.ThePaymentTransactionto keep track of.inthashCode()voidsetExecutableAmount(javax.money.MonetaryAmount executableAmount) Amount that is executable for the transaction type.voidsetTransaction(PaymentTransaction transaction) ThePaymentTransactionto keep track of.toString()
-
Constructor Details
-
TransactionWithExecutableAmount
public TransactionWithExecutableAmount()
-
-
Method Details
-
getTransaction
ThePaymentTransactionto keep track of.- Returns:
- The
PaymentTransactionto keep track of.
-
getExecutableAmount
public javax.money.MonetaryAmount getExecutableAmount()Amount that is executable for the transaction type.- Returns:
- Amount that is executable for the transaction type.
-
setTransaction
ThePaymentTransactionto keep track of.- Parameters:
transaction- ThePaymentTransactionto keep track of.
-
setExecutableAmount
public void setExecutableAmount(javax.money.MonetaryAmount executableAmount) Amount that is executable for the transaction type.- Parameters:
executableAmount- Amount that is executable for the transaction type.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-