Class PaymentCallbackValidationRequest

java.lang.Object
com.broadleafcommerce.cartoperation.domain.payment.PaymentCallbackValidationRequest
All Implemented Interfaces:
Serializable

public class PaymentCallbackValidationRequest extends Object implements Serializable
Object used to pass information necessary to perform validation for a payment callback, such as a redirect back to Broadleaf from a 3DS verification or HPP interaction. This information is gathered from the ExternalPaymentTransactionCallbackDTO, and contains the data that is relevant for verifying that the request we've received is valid and trusted.
Author:
mariestandeven
See Also:
  • Constructor Details

    • PaymentCallbackValidationRequest

      public PaymentCallbackValidationRequest()
  • Method Details

    • getOwnerId

      public String getOwnerId()
      The ID of the payment owner. Typically, this is the cart ID.
    • getOwnerType

      public String getOwnerType()
      The type of entity that owns the payment. Typically, this is DefaultPaymentOwnerTypes.BLC_CART.
    • getGatewayType

      public String getGatewayType()
      The gateway type for this payment.
    • getRequestParams

      public Map<String,String> getRequestParams()
      Request params received from the payment callback.
    • getAttributes

      public Map<String,String> getAttributes()
      Any additional attributes that should be passed.
    • setOwnerId

      public void setOwnerId(String ownerId)
      The ID of the payment owner. Typically, this is the cart ID.
    • setOwnerType

      public void setOwnerType(String ownerType)
      The type of entity that owns the payment. Typically, this is DefaultPaymentOwnerTypes.BLC_CART.
    • setGatewayType

      public void setGatewayType(String gatewayType)
      The gateway type for this payment.
    • setRequestParams

      public void setRequestParams(Map<String,String> requestParams)
      Request params received from the payment callback.
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
      Any additional attributes that should be passed.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object