Package com.adyen.model.payment
Class AdditionalDataRiskStandalone
- java.lang.Object
-
- com.adyen.model.payment.AdditionalDataRiskStandalone
-
public class AdditionalDataRiskStandalone extends Object
AdditionalDataRiskStandalone
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AVS_RESULT_RAWstatic StringJSON_PROPERTY_BINstatic StringJSON_PROPERTY_CVC_RESULT_RAWstatic StringJSON_PROPERTY_PAY_PAL_COUNTRY_CODEstatic StringJSON_PROPERTY_PAY_PAL_EMAIL_IDstatic StringJSON_PROPERTY_PAY_PAL_FIRST_NAMEstatic StringJSON_PROPERTY_PAY_PAL_LAST_NAMEstatic StringJSON_PROPERTY_PAY_PAL_PAYER_IDstatic StringJSON_PROPERTY_PAY_PAL_PHONEstatic StringJSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITYstatic StringJSON_PROPERTY_PAY_PAL_TRANSACTION_IDstatic StringJSON_PROPERTY_RISK_TOKENstatic StringJSON_PROPERTY_THREE_D_AUTHENTICATEDstatic StringJSON_PROPERTY_THREE_D_OFFEREDstatic StringJSON_PROPERTY_TOKEN_DATA_TYPE
-
Constructor Summary
Constructors Constructor Description AdditionalDataRiskStandalone()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalDataRiskStandaloneavsResultRaw(String avsResultRaw)Raw AVS result received from the acquirer, where available.AdditionalDataRiskStandalonebin(String bin)The Bank Identification Number of a credit card, which is the first six digits of a card number.AdditionalDataRiskStandalonecvcResultRaw(String cvcResultRaw)Raw CVC result received from the acquirer, where available.booleanequals(Object o)Return true if this AdditionalDataRiskStandalone object is equal to o.static AdditionalDataRiskStandalonefromJson(String jsonString)Create an instance of AdditionalDataRiskStandalone given an JSON stringStringgetAvsResultRaw()Raw AVS result received from the acquirer, where available.StringgetBin()The Bank Identification Number of a credit card, which is the first six digits of a card number.StringgetCvcResultRaw()Raw CVC result received from the acquirer, where available.StringgetPayPalCountryCode()Shopper's country of residence in the form of ISO standard 3166 2-character country codes.StringgetPayPalEmailId()Shopper's email.StringgetPayPalFirstName()Shopper's first name.StringgetPayPalLastName()Shopper's last name.StringgetPayPalPayerId()Unique PayPal Customer Account identification number.StringgetPayPalPhone()Shopper's phone number.StringgetPayPalProtectionEligibility()Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not ReceivedStringgetPayPalTransactionId()Unique transaction ID of the payment.StringgetRiskToken()Unique identifier or token for the shopper's card details.StringgetThreeDAuthenticated()A Boolean value indicating whether 3DS authentication was completed on this payment.StringgetThreeDOffered()A Boolean value indicating whether 3DS was offered for this payment.StringgetTokenDataType()Required for PayPal payments only.inthashCode()AdditionalDataRiskStandalonepayPalCountryCode(String payPalCountryCode)Shopper's country of residence in the form of ISO standard 3166 2-character country codes.AdditionalDataRiskStandalonepayPalEmailId(String payPalEmailId)Shopper's email.AdditionalDataRiskStandalonepayPalFirstName(String payPalFirstName)Shopper's first name.AdditionalDataRiskStandalonepayPalLastName(String payPalLastName)Shopper's last name.AdditionalDataRiskStandalonepayPalPayerId(String payPalPayerId)Unique PayPal Customer Account identification number.AdditionalDataRiskStandalonepayPalPhone(String payPalPhone)Shopper's phone number.AdditionalDataRiskStandalonepayPalProtectionEligibility(String payPalProtectionEligibility)Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not ReceivedAdditionalDataRiskStandalonepayPalTransactionId(String payPalTransactionId)Unique transaction ID of the payment.AdditionalDataRiskStandaloneriskToken(String riskToken)Unique identifier or token for the shopper's card details.voidsetAvsResultRaw(String avsResultRaw)Raw AVS result received from the acquirer, where available.voidsetBin(String bin)The Bank Identification Number of a credit card, which is the first six digits of a card number.voidsetCvcResultRaw(String cvcResultRaw)Raw CVC result received from the acquirer, where available.voidsetPayPalCountryCode(String payPalCountryCode)Shopper's country of residence in the form of ISO standard 3166 2-character country codes.voidsetPayPalEmailId(String payPalEmailId)Shopper's email.voidsetPayPalFirstName(String payPalFirstName)Shopper's first name.voidsetPayPalLastName(String payPalLastName)Shopper's last name.voidsetPayPalPayerId(String payPalPayerId)Unique PayPal Customer Account identification number.voidsetPayPalPhone(String payPalPhone)Shopper's phone number.voidsetPayPalProtectionEligibility(String payPalProtectionEligibility)Allowed values: * **Eligible** — Merchant is protected by PayPal's Seller Protection Policy for Unauthorized Payments and Item Not ReceivedvoidsetPayPalTransactionId(String payPalTransactionId)Unique transaction ID of the payment.voidsetRiskToken(String riskToken)Unique identifier or token for the shopper's card details.voidsetThreeDAuthenticated(String threeDAuthenticated)A Boolean value indicating whether 3DS authentication was completed on this payment.voidsetThreeDOffered(String threeDOffered)A Boolean value indicating whether 3DS was offered for this payment.voidsetTokenDataType(String tokenDataType)Required for PayPal payments only.AdditionalDataRiskStandalonethreeDAuthenticated(String threeDAuthenticated)A Boolean value indicating whether 3DS authentication was completed on this payment.AdditionalDataRiskStandalonethreeDOffered(String threeDOffered)A Boolean value indicating whether 3DS was offered for this payment.StringtoJson()Convert an instance of AdditionalDataRiskStandalone to an JSON stringAdditionalDataRiskStandalonetokenDataType(String tokenDataType)Required for PayPal payments only.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PAY_PAL_COUNTRY_CODE
public static final String JSON_PROPERTY_PAY_PAL_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_EMAIL_ID
public static final String JSON_PROPERTY_PAY_PAL_EMAIL_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_FIRST_NAME
public static final String JSON_PROPERTY_PAY_PAL_FIRST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_LAST_NAME
public static final String JSON_PROPERTY_PAY_PAL_LAST_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_PAYER_ID
public static final String JSON_PROPERTY_PAY_PAL_PAYER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_PHONE
public static final String JSON_PROPERTY_PAY_PAL_PHONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITY
public static final String JSON_PROPERTY_PAY_PAL_PROTECTION_ELIGIBILITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAY_PAL_TRANSACTION_ID
public static final String JSON_PROPERTY_PAY_PAL_TRANSACTION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AVS_RESULT_RAW
public static final String JSON_PROPERTY_AVS_RESULT_RAW
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BIN
public static final String JSON_PROPERTY_BIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CVC_RESULT_RAW
public static final String JSON_PROPERTY_CVC_RESULT_RAW
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RISK_TOKEN
public static final String JSON_PROPERTY_RISK_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_AUTHENTICATED
public static final String JSON_PROPERTY_THREE_D_AUTHENTICATED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_OFFERED
public static final String JSON_PROPERTY_THREE_D_OFFERED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN_DATA_TYPE
public static final String JSON_PROPERTY_TOKEN_DATA_TYPE
- See Also:
- Constant Field Values
-
-
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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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
AdditionalDataRiskStandaloneinstance, 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.
-
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
-
-