Class PaymentCallbackValidationResponse
java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.domain.PaymentCallbackValidationResponse
- All Implemented Interfaces:
Serializable
Object used to return the results of the validation performed on the payment callback request.
- Author:
- mariestandeven
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Any additional attributes that should be passed.If the request is not valid, this contains any message provided on why it failed.int
hashCode()
boolean
isValid()
Whether or not the payment callback request is valid.void
setAttributes
(Map<String, String> attributes) Any additional attributes that should be passed.void
setValid
(boolean valid) Whether or not the payment callback request is valid.void
setValidationMessage
(String validationMessage) If the request is not valid, this contains any message provided on why it failed.toString()
-
Constructor Details
-
PaymentCallbackValidationResponse
public PaymentCallbackValidationResponse()
-
-
Method Details
-
isValid
public boolean isValid()Whether or not the payment callback request is valid. -
getValidationMessage
If the request is not valid, this contains any message provided on why it failed. -
getAttributes
Any additional attributes that should be passed. -
setValid
public void setValid(boolean valid) Whether or not the payment callback request is valid. -
setValidationMessage
If the request is not valid, this contains any message provided on why it failed. -
setAttributes
Any additional attributes that should be passed. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-