Class Wallet
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.Wallet
-
public class Wallet extends Object
Wallet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWallet.RecommendationReasonsEnumGets or Sets recommendationReasons
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_SCOREstatic StringJSON_PROPERTY_DEVICEstatic StringJSON_PROPERTY_DEVICE_SCOREstatic StringJSON_PROPERTY_PROVISIONING_METHODstatic StringJSON_PROPERTY_RECOMMENDATION_REASONSstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description Wallet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WalletaccountScore(String accountScore)The confidence score of the wallet account, calculated by the wallet provider.WalletaddRecommendationReasonsItem(Wallet.RecommendationReasonsEnum recommendationReasonsItem)Walletdevice(Device device)deviceWalletdeviceScore(String deviceScore)The confidence score of the device, calculated by the wallet provider.booleanequals(Object o)Return true if this Wallet object is equal to o.static WalletfromJson(String jsonString)Create an instance of Wallet given an JSON stringStringgetAccountScore()The confidence score of the wallet account, calculated by the wallet provider.DevicegetDevice()Get deviceStringgetDeviceScore()The confidence score of the device, calculated by the wallet provider.StringgetProvisioningMethod()The method used for provisioning the network token.List<Wallet.RecommendationReasonsEnum>getRecommendationReasons()A list of risk indicators triggered at the time of provisioning the network token.StringgetType()Deprecated.since Configuration webhooks v2 Use name of the `tokenRequestor` instead.inthashCode()WalletprovisioningMethod(String provisioningMethod)The method used for provisioning the network token.WalletrecommendationReasons(List<Wallet.RecommendationReasonsEnum> recommendationReasons)A list of risk indicators triggered at the time of provisioning the network token.voidsetAccountScore(String accountScore)The confidence score of the wallet account, calculated by the wallet provider.voidsetDevice(Device device)devicevoidsetDeviceScore(String deviceScore)The confidence score of the device, calculated by the wallet provider.voidsetProvisioningMethod(String provisioningMethod)The method used for provisioning the network token.voidsetRecommendationReasons(List<Wallet.RecommendationReasonsEnum> recommendationReasons)A list of risk indicators triggered at the time of provisioning the network token.voidsetType(String type)Deprecated.since Configuration webhooks v2 Use name of the `tokenRequestor` instead.StringtoJson()Convert an instance of Wallet to an JSON stringStringtoString()Wallettype(String type)Deprecated.since Configuration webhooks v2 Use name of the `tokenRequestor` instead.
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_SCORE
public static final String JSON_PROPERTY_ACCOUNT_SCORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEVICE
public static final String JSON_PROPERTY_DEVICE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEVICE_SCORE
public static final String JSON_PROPERTY_DEVICE_SCORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROVISIONING_METHOD
public static final String JSON_PROPERTY_PROVISIONING_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECOMMENDATION_REASONS
public static final String JSON_PROPERTY_RECOMMENDATION_REASONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountScore
public Wallet accountScore(String accountScore)
The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.- Parameters:
accountScore- The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.- Returns:
- the current
Walletinstance, allowing for method chaining
-
getAccountScore
public String getAccountScore()
The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.- Returns:
- accountScore The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
-
setAccountScore
public void setAccountScore(String accountScore)
The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.- Parameters:
accountScore- The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
-
device
public Wallet device(Device device)
device- Parameters:
device-- Returns:
- the current
Walletinstance, allowing for method chaining
-
getDevice
public Device getDevice()
Get device- Returns:
- device
-
setDevice
public void setDevice(Device device)
device- Parameters:
device-
-
deviceScore
public Wallet deviceScore(String deviceScore)
The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.- Parameters:
deviceScore- The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.- Returns:
- the current
Walletinstance, allowing for method chaining
-
getDeviceScore
public String getDeviceScore()
The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.- Returns:
- deviceScore The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
-
setDeviceScore
public void setDeviceScore(String deviceScore)
The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.- Parameters:
deviceScore- The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
-
provisioningMethod
public Wallet provisioningMethod(String provisioningMethod)
The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.- Parameters:
provisioningMethod- The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.- Returns:
- the current
Walletinstance, allowing for method chaining
-
getProvisioningMethod
public String getProvisioningMethod()
The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.- Returns:
- provisioningMethod The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
-
setProvisioningMethod
public void setProvisioningMethod(String provisioningMethod)
The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.- Parameters:
provisioningMethod- The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
-
recommendationReasons
public Wallet recommendationReasons(List<Wallet.RecommendationReasonsEnum> recommendationReasons)
A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**- Parameters:
recommendationReasons- A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**- Returns:
- the current
Walletinstance, allowing for method chaining
-
addRecommendationReasonsItem
public Wallet addRecommendationReasonsItem(Wallet.RecommendationReasonsEnum recommendationReasonsItem)
-
getRecommendationReasons
public List<Wallet.RecommendationReasonsEnum> getRecommendationReasons()
A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**- Returns:
- recommendationReasons A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
-
setRecommendationReasons
public void setRecommendationReasons(List<Wallet.RecommendationReasonsEnum> recommendationReasons)
A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**- Parameters:
recommendationReasons- A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
-
type
@Deprecated public Wallet type(String type)
Deprecated.since Configuration webhooks v2 Use name of the `tokenRequestor` instead.The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.- Parameters:
type- The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.- Returns:
- the current
Walletinstance, allowing for method chaining
-
getType
@Deprecated public String getType()
Deprecated.since Configuration webhooks v2 Use name of the `tokenRequestor` instead.The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.- Returns:
- type The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
-
setType
@Deprecated public void setType(String type)
Deprecated.since Configuration webhooks v2 Use name of the `tokenRequestor` instead.The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.- Parameters:
type- The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
-
equals
public boolean equals(Object o)
Return true if this Wallet object is equal to o.
-
fromJson
public static Wallet fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Wallet given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Wallet
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Wallet
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Wallet to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-