Class PaymentTransactionResultEvent
java.lang.Object
com.broadleafcommerce.cartoperation.service.messaging.finalizecart.PaymentTransactionResultEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Miscellaneous attributes that can be added to this payload in order to provide more information.javax.money.MonetaryAmount
javax.money.MonetaryAmount
com.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.javax.money.CurrencyUnit
javax.money.MonetaryAmount
javax.money.MonetaryAmount
getId()
javax.money.MonetaryAmount
The payment in the relationship.The payment transaction's id.javax.money.MonetaryAmount
javax.money.MonetaryAmount
getType()
int
hashCode()
boolean
boolean
boolean
Whether the transaction required external interaction (3DS or HPP).void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Miscellaneous attributes that can be added to this payload in order to provide more information.void
setAdjustmentsTotal
(javax.money.MonetaryAmount adjustmentsTotal) void
setAmount
(javax.money.MonetaryAmount amount) void
setAttributes
(Map<String, String> attributes) void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.void
setDateRecorded
(Instant dateRecorded) void
setFailureType
(String failureType) void
setFeesTotal
(javax.money.MonetaryAmount feesTotal) void
setFlaggedForManualReview
(boolean flaggedForManualReview) void
setFulfillmentTotal
(javax.money.MonetaryAmount fulfillmentTotal) void
setGatewayResponseCode
(String gatewayResponseCode) void
setGatewayTransactionId
(String gatewayTransactionId) void
setGatewayTransactionType
(String gatewayTransactionType) void
void
setIncludedTaxTotal
(javax.money.MonetaryAmount includedTaxTotal) void
setIndeterminateResult
(boolean indeterminateResult) void
setManagementState
(String managementState) void
setManagementStateReason
(String managementStateReason) void
setManualReviewResult
(String manualReviewResult) void
setManualReviewResultReason
(String manualReviewResultReason) void
setNextAction
(NextAction nextAction) void
setParentSourceEntityId
(String parentSourceEntityId) void
setParentSourceEntityType
(String parentSourceEntityType) void
setParentTransactionId
(String parentTransactionId) void
setPaymentId
(String paymentId) void
setPaymentRef
(PaymentRef paymentRef) The payment in the relationship.void
setPaymentTransactionRef
(PaymentTransactionRef paymentTransactionRef) The payment transaction's id.void
setPreviousRequestIds
(List<String> previousRequestIds) void
setRequestId
(String requestId) void
void
setSourceEntityId
(String sourceEntityId) void
setSourceEntityType
(String sourceEntityType) void
void
setSubtotal
(javax.money.MonetaryAmount subtotal) void
setTaxTotal
(javax.money.MonetaryAmount taxTotal) void
setTransactionReferenceId
(String transactionReferenceId) void
setTransactionRequiredExternalInteraction
(boolean transactionRequiredExternalInteraction) Whether the transaction required external interaction (3DS or HPP).void
toString()
boolean
-
Constructor Details
-
PaymentTransactionResultEvent
public PaymentTransactionResultEvent()
-
-
Method Details
-
getPaymentTransactionRef
The payment transaction's id.- Returns:
- The payment transaction's id.
-
getPaymentRef
The payment in the relationship.- Returns:
- The payment in the relationship.
-
isTransactionRequiredExternalInteraction
public boolean isTransactionRequiredExternalInteraction()Whether the transaction required external interaction (3DS or HPP).- Returns:
- Whether the transaction required external interaction (3DS or HPP).
-
getContextInfo
public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfo
derived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfo
derived from the original request
-
getAdditionalAttributes
Miscellaneous attributes that can be added to this payload in order to provide more information. Note, it is recommended to not add any sensitive information in these attributes.- Returns:
- Miscellaneous attributes that can be added to this payload.
-
setPaymentTransactionRef
The payment transaction's id.- Parameters:
id
- The payment transaction's id.
-
setPaymentRef
The payment in the relationship.- Parameters:
paymentRef
- The payment in the relationship.
-
setTransactionRequiredExternalInteraction
public void setTransactionRequiredExternalInteraction(boolean transactionRequiredExternalInteraction) Whether the transaction required external interaction (3DS or HPP).- Parameters:
transactionRequiredExternalInteraction
- Whether the transaction required external interaction (3DS or HPP).
-
setContextInfo
public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info. -
setAdditionalAttributes
Miscellaneous attributes that can be added to this payload in order to provide more information. Note, it is recommended to not add any sensitive information in these attributes.- Parameters:
additionalAttributes
- Miscellaneous attributes that can be added to this payload.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
wasSuccessful
public boolean wasSuccessful() -
getCurrency
public javax.money.CurrencyUnit getCurrency() -
getId
-
getParentTransactionId
-
getPaymentId
-
getRequestId
-
getPreviousRequestIds
-
getTransactionReferenceId
-
getGatewayTransactionId
-
getType
-
getGatewayTransactionType
-
getStatus
-
getGatewayResponseCode
-
getFailureType
-
getAmount
public javax.money.MonetaryAmount getAmount() -
getSubtotal
public javax.money.MonetaryAmount getSubtotal() -
getAdjustmentsTotal
public javax.money.MonetaryAmount getAdjustmentsTotal() -
getFulfillmentTotal
public javax.money.MonetaryAmount getFulfillmentTotal() -
getFeesTotal
public javax.money.MonetaryAmount getFeesTotal() -
getTaxTotal
public javax.money.MonetaryAmount getTaxTotal() -
getIncludedTaxTotal
public javax.money.MonetaryAmount getIncludedTaxTotal() -
getSource
-
getSourceEntityType
-
getSourceEntityId
-
getParentSourceEntityType
-
getParentSourceEntityId
-
getManagementState
-
getManagementStateReason
-
isFlaggedForManualReview
public boolean isFlaggedForManualReview() -
getManualReviewResult
-
getManualReviewResultReason
-
getDateRecorded
-
isIndeterminateResult
public boolean isIndeterminateResult() -
getNextAction
-
getAttributes
-
setId
-
setParentTransactionId
-
setPaymentId
-
setRequestId
-
setPreviousRequestIds
-
setTransactionReferenceId
-
setGatewayTransactionId
-
setType
-
setGatewayTransactionType
-
setStatus
-
setGatewayResponseCode
-
setFailureType
-
setAmount
public void setAmount(javax.money.MonetaryAmount amount) -
setSubtotal
public void setSubtotal(javax.money.MonetaryAmount subtotal) -
setAdjustmentsTotal
public void setAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) -
setFulfillmentTotal
public void setFulfillmentTotal(javax.money.MonetaryAmount fulfillmentTotal) -
setFeesTotal
public void setFeesTotal(javax.money.MonetaryAmount feesTotal) -
setTaxTotal
public void setTaxTotal(javax.money.MonetaryAmount taxTotal) -
setIncludedTaxTotal
public void setIncludedTaxTotal(javax.money.MonetaryAmount includedTaxTotal) -
setSource
-
setSourceEntityType
-
setSourceEntityId
-
setParentSourceEntityType
-
setParentSourceEntityId
-
setManagementState
-
setManagementStateReason
-
setFlaggedForManualReview
public void setFlaggedForManualReview(boolean flaggedForManualReview) -
setManualReviewResult
-
setManualReviewResultReason
-
setDateRecorded
-
setIndeterminateResult
public void setIndeterminateResult(boolean indeterminateResult) -
setNextAction
-
setAttributes
-