public static enum LinkUserAccountResponse.SuccessCode extends java.lang.Enum<LinkUserAccountResponse.SuccessCode>
Enum Constant and Description |
---|
ConsentDenied
Indicates that user was asked for consent and user declined the consent.
|
LinkAlreadyExists
Link already exists for the given identity provider and partner user id
with user amazon account.
|
LinkEstablished
Indicates that the user was sought for consent and consent was granted to
link accounts and Amazon account and 3P account has been linked on SSI server
|
Modifier and Type | Method and Description |
---|---|
static LinkUserAccountResponse.SuccessCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinkUserAccountResponse.SuccessCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkUserAccountResponse.SuccessCode LinkAlreadyExists
public static final LinkUserAccountResponse.SuccessCode LinkEstablished
public static final LinkUserAccountResponse.SuccessCode ConsentDenied
public static LinkUserAccountResponse.SuccessCode[] values()
for (LinkUserAccountResponse.SuccessCode c : LinkUserAccountResponse.SuccessCode.values()) System.out.println(c);
public static LinkUserAccountResponse.SuccessCode 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 null