Package com.adyen.model.marketpayaccount
Class PerformVerificationRequest
- java.lang.Object
-
- com.adyen.model.marketpayaccount.PerformVerificationRequest
-
public class PerformVerificationRequest extends Object
PerformVerificationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerformVerificationRequest.AccountStateTypeEnumThe state required for the account holder.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_ACCOUNT_STATE_TYPEstatic StringJSON_PROPERTY_TIER
-
Constructor Summary
Constructors Constructor Description PerformVerificationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformVerificationRequestaccountHolderCode(String accountHolderCode)PerformVerificationRequestaccountStateType(PerformVerificationRequest.AccountStateTypeEnum accountStateType)booleanequals(Object o)Return true if this PerformVerificationRequest object is equal to o.static PerformVerificationRequestfromJson(String jsonString)Create an instance of PerformVerificationRequest given an JSON stringStringgetAccountHolderCode()The code of the account holder to verify.PerformVerificationRequest.AccountStateTypeEnumgetAccountStateType()The state required for the account holder.IntegergetTier()The tier required for the account holder.inthashCode()voidsetAccountHolderCode(String accountHolderCode)voidsetAccountStateType(PerformVerificationRequest.AccountStateTypeEnum accountStateType)voidsetTier(Integer tier)PerformVerificationRequesttier(Integer tier)StringtoJson()Convert an instance of PerformVerificationRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_STATE_TYPE
public static final String JSON_PROPERTY_ACCOUNT_STATE_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIER
public static final String JSON_PROPERTY_TIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public PerformVerificationRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the account holder to verify.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
accountStateType
public PerformVerificationRequest accountStateType(PerformVerificationRequest.AccountStateTypeEnum accountStateType)
-
getAccountStateType
public PerformVerificationRequest.AccountStateTypeEnum getAccountStateType()
The state required for the account holder. > Permitted values: `Processing`, `Payout`.- Returns:
- accountStateType
-
setAccountStateType
public void setAccountStateType(PerformVerificationRequest.AccountStateTypeEnum accountStateType)
-
tier
public PerformVerificationRequest tier(Integer tier)
-
getTier
public Integer getTier()
The tier required for the account holder.- Returns:
- tier
-
setTier
public void setTier(Integer tier)
-
equals
public boolean equals(Object o)
Return true if this PerformVerificationRequest object is equal to o.
-
fromJson
public static PerformVerificationRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PerformVerificationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PerformVerificationRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PerformVerificationRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PerformVerificationRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-