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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
Amount that is executable for the transaction type.ThePaymentTransaction
to keep track of.int
hashCode()
void
setExecutableAmount
(javax.money.MonetaryAmount executableAmount) Amount that is executable for the transaction type.void
setTransaction
(PaymentTransaction transaction) ThePaymentTransaction
to keep track of.toString()
-
Constructor Details
-
TransactionWithExecutableAmount
public TransactionWithExecutableAmount()
-
-
Method Details
-
getTransaction
ThePaymentTransaction
to keep track of.- Returns:
- The
PaymentTransaction
to 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
ThePaymentTransaction
to keep track of.- Parameters:
transaction
- ThePaymentTransaction
to 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
-