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 - Shopper's country of residence in the form of ISO standard 3166 2-character country codes.
        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 Shopper's country of residence in the form of ISO standard 3166 2-character country codes.
      • setPayPalCountryCode

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

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

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

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

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

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

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

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

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

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

        public AdditionalDataRiskStandalone payPalPayerId​(String payPalPayerId)
        Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
        Parameters:
        payPalPayerId - Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
        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 Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters.
      • setPayPalPayerId

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

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

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

        public void setPayPalPhone​(String payPalPhone)
        Shopper's phone number.
        Parameters:
        payPalPhone - Shopper's phone number.
      • 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 - 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:
        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 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.
      • 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 - 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.
      • payPalTransactionId

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

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

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

        public AdditionalDataRiskStandalone avsResultRaw​(String avsResultRaw)
        Raw AVS result received from the acquirer, where available. Example: D
        Parameters:
        avsResultRaw - Raw AVS result received from the acquirer, where available. Example: D
        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 Raw AVS result received from the acquirer, where available. Example: D
      • setAvsResultRaw

        public void setAvsResultRaw​(String avsResultRaw)
        Raw AVS result received from the acquirer, where available. Example: D
        Parameters:
        avsResultRaw - Raw AVS result received from the acquirer, where available. Example: D
      • 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 - 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:
        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 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).
      • 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 - 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).
      • cvcResultRaw

        public AdditionalDataRiskStandalone cvcResultRaw​(String cvcResultRaw)
        Raw CVC result received from the acquirer, where available. Example: 1
        Parameters:
        cvcResultRaw - Raw CVC result received from the acquirer, where available. Example: 1
        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 Raw CVC result received from the acquirer, where available. Example: 1
      • setCvcResultRaw

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

        public AdditionalDataRiskStandalone riskToken​(String riskToken)
        Unique identifier or token for the shopper's card details.
        Parameters:
        riskToken - Unique identifier or token for the shopper's card details.
        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 Unique identifier or token for the shopper's card details.
      • setRiskToken

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

        public AdditionalDataRiskStandalone threeDAuthenticated​(String threeDAuthenticated)
        A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
        Parameters:
        threeDAuthenticated - A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
        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 A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
      • setThreeDAuthenticated

        public void setThreeDAuthenticated​(String threeDAuthenticated)
        A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
        Parameters:
        threeDAuthenticated - A Boolean value indicating whether 3DS authentication was completed on this payment. Example: true
      • threeDOffered

        public AdditionalDataRiskStandalone threeDOffered​(String threeDOffered)
        A Boolean value indicating whether 3DS was offered for this payment. Example: true
        Parameters:
        threeDOffered - A Boolean value indicating whether 3DS was offered for this payment. Example: true
        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 A Boolean value indicating whether 3DS was offered for this payment. Example: true
      • setThreeDOffered

        public void setThreeDOffered​(String threeDOffered)
        A Boolean value indicating whether 3DS was offered for this payment. Example: true
        Parameters:
        threeDOffered - A Boolean value indicating whether 3DS was offered for this payment. Example: true
      • tokenDataType

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

        public void setTokenDataType​(String tokenDataType)
        Required for PayPal payments only. The only supported value is: **paypal**.
        Parameters:
        tokenDataType - Required for PayPal payments only. The only supported value is: **paypal**.
      • includeNullValues

        public AdditionalDataRiskStandalone includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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