Package com.adyen.model.marketpayhop
Class GetOnboardingUrlResponse
- java.lang.Object
-
- com.adyen.model.marketpayhop.GetOnboardingUrlResponse
-
public class GetOnboardingUrlResponse extends Object
GetOnboardingUrlResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_PSP_REFERENCEstatic StringJSON_PROPERTY_REDIRECT_URLstatic StringJSON_PROPERTY_RESULT_CODE
-
Constructor Summary
Constructors Constructor Description GetOnboardingUrlResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOnboardingUrlResponseaddInvalidFieldsItem(ErrorFieldType invalidFieldsItem)booleanequals(Object o)Return true if this GetOnboardingUrlResponse object is equal to o.static GetOnboardingUrlResponsefromJson(String jsonString)Create an instance of GetOnboardingUrlResponse given an JSON stringList<ErrorFieldType>getInvalidFields()Information about any invalid fields.StringgetPspReference()The reference of a request.StringgetRedirectUrl()The URL to the Hosted Onboarding Page where you should redirect your sub-merchant.StringgetResultCode()The result code.inthashCode()GetOnboardingUrlResponseinvalidFields(List<ErrorFieldType> invalidFields)GetOnboardingUrlResponsepspReference(String pspReference)GetOnboardingUrlResponseredirectUrl(String redirectUrl)GetOnboardingUrlResponseresultCode(String resultCode)voidsetInvalidFields(List<ErrorFieldType> invalidFields)voidsetPspReference(String pspReference)voidsetRedirectUrl(String redirectUrl)voidsetResultCode(String resultCode)StringtoJson()Convert an instance of GetOnboardingUrlResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_INVALID_FIELDS
public static final String JSON_PROPERTY_INVALID_FIELDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PSP_REFERENCE
public static final String JSON_PROPERTY_PSP_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIRECT_URL
public static final String JSON_PROPERTY_REDIRECT_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT_CODE
public static final String JSON_PROPERTY_RESULT_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
invalidFields
public GetOnboardingUrlResponse invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public GetOnboardingUrlResponse addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
Information about any invalid fields.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
pspReference
public GetOnboardingUrlResponse pspReference(String pspReference)
-
getPspReference
public String getPspReference()
The reference of a request. Can be used to uniquely identify the request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
redirectUrl
public GetOnboardingUrlResponse redirectUrl(String redirectUrl)
-
getRedirectUrl
public String getRedirectUrl()
The URL to the Hosted Onboarding Page where you should redirect your sub-merchant. This URL must be used within 30 seconds and can only be used once.- Returns:
- redirectUrl
-
setRedirectUrl
public void setRedirectUrl(String redirectUrl)
-
resultCode
public GetOnboardingUrlResponse resultCode(String resultCode)
-
getResultCode
public String getResultCode()
The result code.- Returns:
- resultCode
-
setResultCode
public void setResultCode(String resultCode)
-
equals
public boolean equals(Object o)
Return true if this GetOnboardingUrlResponse object is equal to o.
-
fromJson
public static GetOnboardingUrlResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of GetOnboardingUrlResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetOnboardingUrlResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to GetOnboardingUrlResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of GetOnboardingUrlResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-