public enum EwayRapidConnectionMethod extends java.lang.Enum<EwayRapidConnectionMethod>
POST /AccessCodes; Shared Page and Iframe use
POST /AccessCodesShared.| Enum Constant and Description |
|---|
IFRAME
Embed Rapid
SharedPaymentUrl. |
SHARED_PAGE
Browser navigates to Rapid
SharedPaymentUrl. |
TRANSPARENT_REDIRECT
Card form posts to Rapid
FormActionURL. |
| Modifier and Type | Method and Description |
|---|---|
static EwayRapidConnectionMethod |
fromName(java.lang.String value)
Parse a REST/JSON connection method name.
|
static EwayRapidConnectionMethod |
tryParse(java.lang.String value)
Parse a REST/JSON connection method name without throwing.
|
boolean |
usesSharedPage()
Shared Page and Iframe share
/AccessCodesShared and CancelUrl. |
static EwayRapidConnectionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EwayRapidConnectionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EwayRapidConnectionMethod TRANSPARENT_REDIRECT
FormActionURL.public static final EwayRapidConnectionMethod SHARED_PAGE
SharedPaymentUrl.public static final EwayRapidConnectionMethod IFRAME
SharedPaymentUrl.public static EwayRapidConnectionMethod[] values()
for (EwayRapidConnectionMethod c : EwayRapidConnectionMethod.values()) System.out.println(c);
public static EwayRapidConnectionMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean usesSharedPage()
/AccessCodesShared and CancelUrl.@CheckReturnValue @Nonnull public static EwayRapidConnectionMethod fromName(java.lang.String value)
value - TransparentRedirect, SharedPage, Iframe, or aliasesjava.lang.IllegalArgumentException - when value is unknown@Nullable public static EwayRapidConnectionMethod tryParse(java.lang.String value)
value - raw method name, or nullnull when blank or unknownstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.