Class PaymentResult


  • public class PaymentResult
    extends Object
    PaymentResult
    • Constructor Detail

      • PaymentResult

        public PaymentResult()
    • Method Detail

      • getAuthCode

        public String getAuthCode()
        the authorisation code if the payment was successful
        Returns:
        authCode
      • setAuthCode

        public void setAuthCode​(String authCode)
      • getPaRequest

        public String getPaRequest()
        the 3D request data for the issuer
        Returns:
        paRequest
      • setPaRequest

        public void setPaRequest​(String paRequest)
      • getIssuerUrl

        public String getIssuerUrl()
        the URL to direct the shopper to
        Returns:
        issuerUrl
      • setIssuerUrl

        public void setIssuerUrl​(String issuerUrl)
      • getMd

        public String getMd()
        the payment session
        Returns:
        md
      • setMd

        public void setMd​(String md)
      • getDccAmount

        public Amount getDccAmount()
        Get dccAmount
        Returns:
        dccAmount
      • setDccAmount

        public void setDccAmount​(Amount dccAmount)
      • getDccSignature

        public String getDccSignature()
        Get dccSignature
        Returns:
        dccSignature
      • setDccSignature

        public void setDccSignature​(String dccSignature)
      • getPspReference

        public String getPspReference()
        the unique reference that is associated with the payment
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getAdditionalData

        public Map<String,​String> getAdditionalData()
        a map of name/value pairs for passing in additional/industry-specific data
        Returns:
        additionalData
      • setAdditionalData

        public void setAdditionalData​(Map<String,​String> additionalData)
      • getRefusalReason

        public String getRefusalReason()
        the mapped refusal reason
        Returns:
        refusalReason
      • setRefusalReason

        public void setRefusalReason​(String refusalReason)
      • getFraudResult

        public FraudResult getFraudResult()
        the fraud result properties of the payment
        Returns:
        fraudResult
      • setFraudResult

        public void setFraudResult​(FraudResult fraudResult)
      • hashCode

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

        public boolean isAuthorised()
      • isRedirectShopper

        public boolean isRedirectShopper()
      • isRefused

        public boolean isRefused()
      • isReceived

        public boolean isReceived()
      • getAdditionalDataByKey

        public String getAdditionalDataByKey​(String key)
      • getExpiryDate

        public Date getExpiryDate()
      • getCardBin

        public String getCardBin()
      • getCardHolderName

        public String getCardHolderName()
      • getCardSummary

        public String getCardSummary()
      • getPaymentMethod

        public String getPaymentMethod()
      • getAvsResult

        public String getAvsResult()
      • get3DOffered

        public boolean get3DOffered()
      • get3DAuthenticated

        public boolean get3DAuthenticated()
      • getBoletoBarCodeReference

        public String getBoletoBarCodeReference()
      • getBoletoData

        public String getBoletoData()
      • getBoletoDueDate

        public Date getBoletoDueDate()
      • getBoletoExpirationDate

        public Date getBoletoExpirationDate()
      • getBoletoUrl

        public String getBoletoUrl()