Package com.adyen.model.marketpayhop
Class GetPciUrlRequest
- java.lang.Object
-
- com.adyen.model.marketpayhop.GetPciUrlRequest
-
public class GetPciUrlRequest extends Object
GetPciUrlRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_RETURN_URL
-
Constructor Summary
Constructors Constructor Description GetPciUrlRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPciUrlRequestaccountHolderCode(String accountHolderCode)booleanequals(Object o)Return true if this GetPciUrlRequest object is equal to o.static GetPciUrlRequestfromJson(String jsonString)Create an instance of GetPciUrlRequest given an JSON stringStringgetAccountHolderCode()The account holder code you provided when you created the account holder.StringgetReturnUrl()The URL where the account holder will be redirected back to after they fill out the questionnaire, or if their session times out.inthashCode()GetPciUrlRequestreturnUrl(String returnUrl)voidsetAccountHolderCode(String accountHolderCode)voidsetReturnUrl(String returnUrl)StringtoJson()Convert an instance of GetPciUrlRequest 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_RETURN_URL
public static final String JSON_PROPERTY_RETURN_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public GetPciUrlRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The account holder code you provided when you created the account holder.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
returnUrl
public GetPciUrlRequest returnUrl(String returnUrl)
-
getReturnUrl
public String getReturnUrl()
The URL where the account holder will be redirected back to after they fill out the questionnaire, or if their session times out. Maximum length of 500 characters.- Returns:
- returnUrl
-
setReturnUrl
public void setReturnUrl(String returnUrl)
-
equals
public boolean equals(Object o)
Return true if this GetPciUrlRequest object is equal to o.
-
fromJson
public static GetPciUrlRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetPciUrlRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetPciUrlRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetPciUrlRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetPciUrlRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-