Package com.adyen.model.openbanking
Class AccountVerificationRoutesRequest
- java.lang.Object
-
- com.adyen.model.openbanking.AccountVerificationRoutesRequest
-
public class AccountVerificationRoutesRequest extends Object
AccountVerificationRoutesRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COUNTRYstatic StringJSON_PROPERTY_LOCALEstatic StringJSON_PROPERTY_REDIRECT_URLstatic StringJSON_PROPERTY_STATE
-
Constructor Summary
Constructors Constructor Description AccountVerificationRoutesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountVerificationRoutesRequestcountry(AccountVerificationCountry country)countrybooleanequals(Object o)Return true if this AccountVerificationRoutesRequest object is equal to o.static AccountVerificationRoutesRequestfromJson(String jsonString)Create an instance of AccountVerificationRoutesRequest given an JSON stringAccountVerificationCountrygetCountry()Get countryStringgetLocale()The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.StringgetRedirectUrl()The URL where Adyen redirects the third-party individual after they complete the open banking flow.StringgetState()A value that helps you identify the request in callback handling.inthashCode()AccountVerificationRoutesRequestlocale(String locale)The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.AccountVerificationRoutesRequestredirectUrl(String redirectUrl)The URL where Adyen redirects the third-party individual after they complete the open banking flow.voidsetCountry(AccountVerificationCountry country)countryvoidsetLocale(String locale)The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.voidsetRedirectUrl(String redirectUrl)The URL where Adyen redirects the third-party individual after they complete the open banking flow.voidsetState(String state)A value that helps you identify the request in callback handling.AccountVerificationRoutesRequeststate(String state)A value that helps you identify the request in callback handling.StringtoJson()Convert an instance of AccountVerificationRoutesRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COUNTRY
public static final String JSON_PROPERTY_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOCALE
public static final String JSON_PROPERTY_LOCALE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIRECT_URL
public static final String JSON_PROPERTY_REDIRECT_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
country
public AccountVerificationRoutesRequest country(AccountVerificationCountry country)
country- Parameters:
country-- Returns:
- the current
AccountVerificationRoutesRequestinstance, allowing for method chaining
-
getCountry
public AccountVerificationCountry getCountry()
Get country- Returns:
- country
-
setCountry
public void setCountry(AccountVerificationCountry country)
country- Parameters:
country-
-
locale
public AccountVerificationRoutesRequest locale(String locale)
The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**- Parameters:
locale- The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**- Returns:
- the current
AccountVerificationRoutesRequestinstance, allowing for method chaining
-
getLocale
public String getLocale()
The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**- Returns:
- locale The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**
-
setLocale
public void setLocale(String locale)
The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**- Parameters:
locale- The language to use in the open banking flow UI, specified by a combination of a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) language code and an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This information is used to configure the open banking flow with the same language for a consistent user experience. Default value: **en-US**
-
redirectUrl
public AccountVerificationRoutesRequest redirectUrl(String redirectUrl)
The URL where Adyen redirects the third-party individual after they complete the open banking flow.- Parameters:
redirectUrl- The URL where Adyen redirects the third-party individual after they complete the open banking flow.- Returns:
- the current
AccountVerificationRoutesRequestinstance, allowing for method chaining
-
getRedirectUrl
public String getRedirectUrl()
The URL where Adyen redirects the third-party individual after they complete the open banking flow.- Returns:
- redirectUrl The URL where Adyen redirects the third-party individual after they complete the open banking flow.
-
setRedirectUrl
public void setRedirectUrl(String redirectUrl)
The URL where Adyen redirects the third-party individual after they complete the open banking flow.- Parameters:
redirectUrl- The URL where Adyen redirects the third-party individual after they complete the open banking flow.
-
state
public AccountVerificationRoutesRequest state(String state)
A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.- Parameters:
state- A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.- Returns:
- the current
AccountVerificationRoutesRequestinstance, allowing for method chaining
-
getState
public String getState()
A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.- Returns:
- state A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.
-
setState
public void setState(String state)
A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.- Parameters:
state- A value that helps you identify the request in callback handling. You can generate this value on a per-session basis to protect the callback against Cross-Site Request Forgery (CSRF) attacks. This value must be composed of characters that can be successfully URL-encoded.
-
equals
public boolean equals(Object o)
Return true if this AccountVerificationRoutesRequest object is equal to o.
-
fromJson
public static AccountVerificationRoutesRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountVerificationRoutesRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountVerificationRoutesRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountVerificationRoutesRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountVerificationRoutesRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-