Class AdditionalDataRiskStandalone


  • public class AdditionalDataRiskStandalone
    extends Object
    AdditionalDataRiskStandalone
    • Constructor Detail

      • AdditionalDataRiskStandalone

        public AdditionalDataRiskStandalone()
    • Method Detail

      • getPayPalCountryCode

        public String getPayPalCountryCode()
        Shopper's country of residence in the form of ISO standard 3166 2-character country codes.
        Returns:
        payPalCountryCode
      • setPayPalCountryCode

        public void setPayPalCountryCode​(String payPalCountryCode)
      • getPayPalEmailId

        public String getPayPalEmailId()
        Shopper's email.
        Returns:
        payPalEmailId
      • setPayPalEmailId

        public void setPayPalEmailId​(String payPalEmailId)
      • getPayPalFirstName

        public String getPayPalFirstName()
        Shopper's first name.
        Returns:
        payPalFirstName
      • setPayPalFirstName

        public void setPayPalFirstName​(String payPalFirstName)
      • getPayPalLastName

        public String getPayPalLastName()
        Shopper's last name.
        Returns:
        payPalLastName
      • setPayPalLastName

        public void setPayPalLastName​(String payPalLastName)
      • getPayPalPayerId

        public String getPayPalPayerId()
        Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
        Returns:
        payPalPayerId
      • setPayPalPayerId

        public void setPayPalPayerId​(String payPalPayerId)
      • getPayPalPhone

        public String getPayPalPhone()
        Shopper's phone number.
        Returns:
        payPalPhone
      • setPayPalPhone

        public void setPayPalPhone​(String payPalPhone)
      • getPayPalProtectionEligibility

        public String getPayPalProtectionEligibility()
        Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal's Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy.
        Returns:
        payPalProtectionEligibility
      • setPayPalProtectionEligibility

        public void setPayPalProtectionEligibility​(String payPalProtectionEligibility)
      • getPayPalTransactionId

        public String getPayPalTransactionId()
        Unique transaction ID of the payment.
        Returns:
        payPalTransactionId
      • setPayPalTransactionId

        public void setPayPalTransactionId​(String payPalTransactionId)
      • getAvsResultRaw

        public String getAvsResultRaw()
        Raw AVS result received from the acquirer, where available. Example: D
        Returns:
        avsResultRaw
      • setAvsResultRaw

        public void setAvsResultRaw​(String avsResultRaw)
      • getBin

        public String getBin()
        The Bank Identification Number of a credit card, which is the first six digits of a card number. Required for [tokenized card request](https://docs.adyen.com/risk-management/standalone-risk#tokenised-pan-request).
        Returns:
        bin
      • setBin

        public void setBin​(String bin)
      • getCvcResultRaw

        public String getCvcResultRaw()
        Raw CVC result received from the acquirer, where available. Example: 1
        Returns:
        cvcResultRaw
      • setCvcResultRaw

        public void setCvcResultRaw​(String cvcResultRaw)
      • getRiskToken

        public String getRiskToken()
        Unique identifier or token for the shopper's card details.
        Returns:
        riskToken
      • setRiskToken

        public void setRiskToken​(String riskToken)
      • getThreeDAuthenticated

        public String getThreeDAuthenticated()
        A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
        Returns:
        threeDAuthenticated
      • setThreeDAuthenticated

        public void setThreeDAuthenticated​(String threeDAuthenticated)
      • getThreeDOffered

        public String getThreeDOffered()
        A Boolean value indicating whether 3DS was offered for this payment. Example: true
        Returns:
        threeDOffered
      • setThreeDOffered

        public void setThreeDOffered​(String threeDOffered)
      • getTokenDataType

        public String getTokenDataType()
        Required for PayPal payments only. The only supported value is: **paypal**.
        Returns:
        tokenDataType
      • setTokenDataType

        public void setTokenDataType​(String tokenDataType)
      • equals

        public boolean equals​(Object o)
        Return true if this AdditionalDataRiskStandalone object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static AdditionalDataRiskStandalone fromJson​(String jsonString)
                                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AdditionalDataRiskStandalone given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AdditionalDataRiskStandalone
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AdditionalDataRiskStandalone
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AdditionalDataRiskStandalone to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException