Class DefaultTransactionExecutionService.ParentTransactionExecutionPackage
java.lang.Object
com.broadleafcommerce.paymenttransaction.service.DefaultTransactionExecutionService.ParentTransactionExecutionPackage
- Enclosing class:
- DefaultTransactionExecutionService
public static class DefaultTransactionExecutionService.ParentTransactionExecutionPackage
extends Object
An intermediary data structure used internally by
TransactionExecutionService to hold
all the relevant data to execute a transaction against a parent
transaction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountcom.broadleafcommerce.data.tracking.core.context.ContextInfoContext information around sandbox and multitenant state.A randomly generated id for the execution packageTheparent transactionthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against.TheTransactionExecutionRequestthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackagewas generated for.The amount details to execute against thegetParentTransaction().com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionServiceThePaymentGatewayTransactionServicethat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against.inthashCode()voidsetAmountToExecute(javax.money.MonetaryAmount amountToExecute) voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Context information around sandbox and multitenant state.voidsetPackageId(String packageId) A randomly generated id for the execution packagevoidsetParentTransaction(PaymentTransaction parentTransaction) Theparent transactionthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against.voidsetRequest(TransactionExecutionRequest request) TheTransactionExecutionRequestthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackagewas generated for.voidsetTransactionAmountDetails(TransactionAmountDetails transactionAmountDetails) The amount details to execute against thegetParentTransaction().voidsetTransactionService(com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService) ThePaymentGatewayTransactionServicethat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against.toString()
-
Constructor Details
-
ParentTransactionExecutionPackage
public ParentTransactionExecutionPackage()
-
-
Method Details
-
getAmountToExecute
@Nullable public javax.money.MonetaryAmount getAmountToExecute() -
setAmountToExecute
public void setAmountToExecute(javax.money.MonetaryAmount amountToExecute) -
getPackageId
A randomly generated id for the execution package -
getRequest
TheTransactionExecutionRequestthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackagewas generated for. -
getParentTransaction
Theparent transactionthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against. -
getTransactionAmountDetails
The amount details to execute against thegetParentTransaction(). -
getTransactionService
public com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService getTransactionService()ThePaymentGatewayTransactionServicethat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against. -
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()Context information around sandbox and multitenant state. -
setPackageId
A randomly generated id for the execution package -
setRequest
TheTransactionExecutionRequestthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackagewas generated for. -
setParentTransaction
Theparent transactionthat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against. -
setTransactionAmountDetails
The amount details to execute against thegetParentTransaction(). -
setTransactionService
public void setTransactionService(com.broadleafcommerce.paymentgateway.service.PaymentGatewayTransactionService transactionService) ThePaymentGatewayTransactionServicethat thisDefaultTransactionExecutionService.ParentTransactionExecutionPackageis executing against. -
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Context information around sandbox and multitenant state. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-