Class PaymentTransactionResultAudit
java.lang.Object
com.broadleafcommerce.paymenttransaction.domain.PaymentTransactionResultAudit
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,Serializable
public class PaymentTransactionResultAudit
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
- Since:
- Payment Transaction Service 2.0.6, Release Train 2.1.4, Release Train 2.2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Map of specific attributes that have been gathered from the raw response.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.The timestamp when this transaction response was recordedThe type of transaction failure (hard vs soft failure)The type of transaction failureMessage from the gateway describing the result of the transaction.The response code provided by the payment gateway which may represent a success or failuregetId()
The id of this payment transaction result audit.A reference to the updated transaction this result belongs to.The string representation of the serialized response from the gateway.The id used to represent the request that produced this transaction result.The status of the transaction at the time this result was receivedint
hashCode()
void
setAttributes
(Map<String, Object> attributes) Map of specific attributes that have been gathered from the raw response.void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
setDateRecorded
(Instant dateRecorded) The timestamp when this transaction response was recordedvoid
setDeclineType
(String declineType) The type of transaction failure (hard vs soft failure)void
setFailureType
(String failureType) The type of transaction failurevoid
setGatewayMessage
(String gatewayMessage) Message from the gateway describing the result of the transaction.void
setGatewayResponseCode
(String gatewayResponseCode) The response code provided by the payment gateway which may represent a success or failurevoid
The id of this payment transaction result audit.void
setPaymentTransactionId
(String paymentTransactionId) A reference to the updated transaction this result belongs to.void
setRawResponse
(String rawResponse) The string representation of the serialized response from the gateway.void
setRequestId
(String requestId) The id used to represent the request that produced this transaction result.void
The status of the transaction at the time this result was receivedtoString()
-
Constructor Details
-
PaymentTransactionResultAudit
public PaymentTransactionResultAudit()
-
-
Method Details
-
getId
The id of this payment transaction result audit.- Returns:
- The id of this payment transaction result audit.
-
getPaymentTransactionId
A reference to the updated transaction this result belongs to. -
getDateRecorded
The timestamp when this transaction response was recorded- Returns:
- The timestamp when this transaction response was recorded
-
getGatewayResponseCode
The response code provided by the payment gateway which may represent a success or failure- Returns:
- The response code provided by the payment gateway which may represent a success or failure
-
getFailureType
The type of transaction failure- Returns:
- The type of transaction failure
-
getDeclineType
The type of transaction failure (hard vs soft failure)- Returns:
- The type of transaction failure (hard vs soft failure)
-
getStatus
The status of the transaction at the time this result was received- Returns:
- The status of the transaction at the time this result was received
- See Also:
-
getGatewayMessage
Message from the gateway describing the result of the transaction.- Returns:
- Message from the gateway describing the result of the transaction.
-
getRawResponse
The string representation of the serialized response from the gateway. This is usually the complete request parameter map serialized in string form.- Returns:
- The string representation of the serialized response from the gateway
-
getRequestId
The id used to represent the request that produced this transaction result.- Returns:
- The id used to represent the request that produced this transaction result
-
getAttributes
Map of specific attributes that have been gathered from the raw response. This should be used for data points that are to be used programmatically.- Returns:
- Map of specific fields that have been gathered from the raw response
-
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object
-
setId
The id of this payment transaction result audit.- Parameters:
paymentTransactionId
- The id of this payment transaction result audit.
-
setPaymentTransactionId
A reference to the updated transaction this result belongs to. -
setDateRecorded
The timestamp when this transaction response was recorded- Parameters:
dateRecorded
- The timestamp when this transaction response was recorded
-
setGatewayResponseCode
The response code provided by the payment gateway which may represent a success or failure- Parameters:
gatewayResponseCode
- The response code provided by the payment gateway which may represent a success or failure
-
setFailureType
The type of transaction failure- Parameters:
failureType
- The type of transaction failure
-
setDeclineType
The type of transaction failure (hard vs soft failure)- Parameters:
failureType
- The type of transaction failure (hard vs soft failure)
-
setStatus
The status of the transaction at the time this result was received- Parameters:
status
- The status of the transaction at the time this result was received- See Also:
-
setGatewayMessage
Message from the gateway describing the result of the transaction.- Parameters:
gatewayMessage
- Message from the gateway describing the result of the transaction.
-
setRawResponse
The string representation of the serialized response from the gateway. This is usually the complete request parameter map serialized in string form.- Parameters:
rawResponse
- The string representation of the serialized response from the gateway
-
setRequestId
The id used to represent the request that produced this transaction result.- Parameters:
requestId
- The id used to represent the request that produced this transaction result
-
setAttributes
Map of specific attributes that have been gathered from the raw response. This should be used for data points that are to be used programmatically.- Parameters:
attributes
- Map of specific fields that have been gathered from the raw response
-
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-