Package com.adyen.model.checkout
Class Redirect
- java.lang.Object
-
- com.adyen.model.checkout.Redirect
-
public class Redirect extends Object
Redirect
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRedirect.MethodEnumThe web method that you must use to access the redirect URL.
-
Constructor Summary
Constructors Constructor Description Redirect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Redirectdata(Map<String,String> data)booleanequals(Object o)Map<String,String>getData()When the redirect URL must be accessed via POST, use this data to post to the redirect URL.Redirect.MethodEnumgetMethod()The web method that you must use to access the redirect URL.StringgetUrl()The URL, to which you must redirect a shopper to complete a payment.inthashCode()Redirectmethod(Redirect.MethodEnum method)RedirectputDataItem(String key, String dataItem)voidsetData(Map<String,String> data)voidsetMethod(Redirect.MethodEnum method)voidsetUrl(String url)StringtoString()Redirecturl(String url)
-
-
-
Method Detail
-
getData
public Map<String,String> getData()
When the redirect URL must be accessed via POST, use this data to post to the redirect URL.- Returns:
- data
-
method
public Redirect method(Redirect.MethodEnum method)
-
getMethod
public Redirect.MethodEnum getMethod()
The web method that you must use to access the redirect URL. Possible values: GET, POST.- Returns:
- method
-
setMethod
public void setMethod(Redirect.MethodEnum method)
-
getUrl
public String getUrl()
The URL, to which you must redirect a shopper to complete a payment.- Returns:
- url
-
setUrl
public void setUrl(String url)
-
-