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 booleanbooleanMap of specific attributes that have been gathered from the raw response.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation 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 receivedinthashCode()voidsetAttributes(Map<String, Object> attributes) Map of specific attributes that have been gathered from the raw response.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetDateRecorded(Instant dateRecorded) The timestamp when this transaction response was recordedvoidsetDeclineType(String declineType) The type of transaction failure (hard vs soft failure)voidsetFailureType(String failureType) The type of transaction failurevoidsetGatewayMessage(String gatewayMessage) Message from the gateway describing the result of the transaction.voidsetGatewayResponseCode(String gatewayResponseCode) The response code provided by the payment gateway which may represent a success or failurevoidThe id of this payment transaction result audit.voidsetPaymentTransactionId(String paymentTransactionId) A reference to the updated transaction this result belongs to.voidsetRawResponse(String rawResponse) The string representation of the serialized response from the gateway.voidsetRequestId(String requestId) The id used to represent the request that produced this transaction result.voidThe 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 ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Returns:
- a subset of
Trackinginformation 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 ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Parameters:
contextState- a subset ofTrackinginformation to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-