Class AdditionalDataRiskStandalone


  • public class AdditionalDataRiskStandalone
    extends Object
    AdditionalDataRiskStandalone
    • Constructor Detail

      • AdditionalDataRiskStandalone

        public AdditionalDataRiskStandalone()
    • Method Detail

      • payPalCountryCode

        public AdditionalDataRiskStandalone payPalCountryCode​(String payPalCountryCode)
        Shopper's country of residence in the form of ISO standard 3166 2-character country codes.
        Parameters:
        payPalCountryCode -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • 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)
        Shopper's country of residence in the form of ISO standard 3166 2-character country codes.
        Parameters:
        payPalCountryCode -
      • payPalEmailId

        public AdditionalDataRiskStandalone payPalEmailId​(String payPalEmailId)
        Shopper's email.
        Parameters:
        payPalEmailId -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getPayPalEmailId

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

        public void setPayPalEmailId​(String payPalEmailId)
        Shopper's email.
        Parameters:
        payPalEmailId -
      • payPalFirstName

        public AdditionalDataRiskStandalone payPalFirstName​(String payPalFirstName)
        Shopper's first name.
        Parameters:
        payPalFirstName -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getPayPalFirstName

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

        public void setPayPalFirstName​(String payPalFirstName)
        Shopper's first name.
        Parameters:
        payPalFirstName -
      • payPalLastName

        public AdditionalDataRiskStandalone payPalLastName​(String payPalLastName)
        Shopper's last name.
        Parameters:
        payPalLastName -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getPayPalLastName

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

        public void setPayPalLastName​(String payPalLastName)
        Shopper's last name.
        Parameters:
        payPalLastName -
      • payPalPayerId

        public AdditionalDataRiskStandalone payPalPayerId​(String payPalPayerId)
        Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
        Parameters:
        payPalPayerId -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • 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)
        Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
        Parameters:
        payPalPayerId -
      • payPalPhone

        public AdditionalDataRiskStandalone payPalPhone​(String payPalPhone)
        Shopper's phone number.
        Parameters:
        payPalPhone -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getPayPalPhone

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

        public void setPayPalPhone​(String payPalPhone)
        Shopper's phone number.
        Parameters:
        payPalPhone -
      • payPalProtectionEligibility

        public AdditionalDataRiskStandalone payPalProtectionEligibility​(String payPalProtectionEligibility)
        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.
        Parameters:
        payPalProtectionEligibility -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • 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)
        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.
        Parameters:
        payPalProtectionEligibility -
      • payPalTransactionId

        public AdditionalDataRiskStandalone payPalTransactionId​(String payPalTransactionId)
        Unique transaction ID of the payment.
        Parameters:
        payPalTransactionId -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getPayPalTransactionId

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

        public void setPayPalTransactionId​(String payPalTransactionId)
        Unique transaction ID of the payment.
        Parameters:
        payPalTransactionId -
      • avsResultRaw

        public AdditionalDataRiskStandalone avsResultRaw​(String avsResultRaw)
        Raw AVS result received from the acquirer, where available. Example: D
        Parameters:
        avsResultRaw -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getAvsResultRaw

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

        public void setAvsResultRaw​(String avsResultRaw)
        Raw AVS result received from the acquirer, where available. Example: D
        Parameters:
        avsResultRaw -
      • bin

        public AdditionalDataRiskStandalone bin​(String bin)
        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/online-payments/tokenization).
        Parameters:
        bin -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • 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/online-payments/tokenization).
        Returns:
        bin
      • setBin

        public void setBin​(String bin)
        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/online-payments/tokenization).
        Parameters:
        bin -
      • cvcResultRaw

        public AdditionalDataRiskStandalone cvcResultRaw​(String cvcResultRaw)
        Raw CVC result received from the acquirer, where available. Example: 1
        Parameters:
        cvcResultRaw -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getCvcResultRaw

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

        public void setCvcResultRaw​(String cvcResultRaw)
        Raw CVC result received from the acquirer, where available. Example: 1
        Parameters:
        cvcResultRaw -
      • riskToken

        public AdditionalDataRiskStandalone riskToken​(String riskToken)
        Unique identifier or token for the shopper's card details.
        Parameters:
        riskToken -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getRiskToken

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

        public void setRiskToken​(String riskToken)
        Unique identifier or token for the shopper's card details.
        Parameters:
        riskToken -
      • threeDAuthenticated

        public AdditionalDataRiskStandalone threeDAuthenticated​(String threeDAuthenticated)
        A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
        Parameters:
        threeDAuthenticated -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • 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)
        A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
        Parameters:
        threeDAuthenticated -
      • threeDOffered

        public AdditionalDataRiskStandalone threeDOffered​(String threeDOffered)
        A Boolean value indicating whether 3DS was offered for this payment. Example: true
        Parameters:
        threeDOffered -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • 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)
        A Boolean value indicating whether 3DS was offered for this payment. Example: true
        Parameters:
        threeDOffered -
      • tokenDataType

        public AdditionalDataRiskStandalone tokenDataType​(String tokenDataType)
        Required for PayPal payments only. The only supported value is: **paypal**.
        Parameters:
        tokenDataType -
        Returns:
        the current AdditionalDataRiskStandalone instance, allowing for method chaining
      • getTokenDataType

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

        public void setTokenDataType​(String tokenDataType)
        Required for PayPal payments only. The only supported value is: **paypal**.
        Parameters:
        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