Class PaymentCallbackValidationRequest
java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.domain.PaymentCallbackValidationRequest
- All Implemented Interfaces:
Serializable
Object used to pass information necessary to perform validation for the payment callback. This
information contains the data that is relevant for verifying that the payment callback request
we've received is valid and trusted.
- Author:
- mariestandeven
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Any additional attributes that should be passed.The gateway type for this payment.The ID of the payment owner.The type of entity that owns the payment.Request params received from the payment callback.int
hashCode()
void
setAttributes
(Map<String, String> attributes) Any additional attributes that should be passed.void
setGatewayType
(String gatewayType) The gateway type for this payment.void
setOwnerId
(String ownerId) The ID of the payment owner.void
setOwnerType
(String ownerType) The type of entity that owns the payment.void
setRequestParams
(Map<String, String> requestParams) Request params received from the payment callback.toString()
-
Constructor Details
-
PaymentCallbackValidationRequest
public PaymentCallbackValidationRequest()
-
-
Method Details
-
getOwnerId
The ID of the payment owner. Typically, this is the cart ID. -
getOwnerType
The type of entity that owns the payment. Typically, this isDefaultPaymentOwnerTypes.BLC_CART
. -
getGatewayType
The gateway type for this payment. -
getRequestParams
Request params received from the payment callback. -
getAttributes
Any additional attributes that should be passed. -
setOwnerId
The ID of the payment owner. Typically, this is the cart ID. -
setOwnerType
The type of entity that owns the payment. Typically, this isDefaultPaymentOwnerTypes.BLC_CART
. -
setGatewayType
The gateway type for this payment. -
setRequestParams
Request params received from the payment callback. -
setAttributes
Any additional attributes that should be passed. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-