public class PayPalTwoFactorAuthResponse
extends java.lang.Object
Constructor and Description |
---|
PayPalTwoFactorAuthResponse() |
Modifier and Type | Method and Description |
---|---|
static PayPalTwoFactorAuthResponse |
fromJson(java.lang.String string,
java.lang.String authorizationFingerprint)
Construct a PayPal two factor authentication lookup response from JSON.
|
java.lang.String |
getAuthenticateUrl()
Authentication url used for payment two factor authentication.
|
java.lang.String |
getPaymentToken()
Token representing newly created PayPal payment resource.
|
java.lang.String |
getRedirectUrl()
Redirect url.
|
java.lang.String |
getResourceIntent()
Intent of the resulting transaction the nonce will be used in.
|
java.lang.String |
toJson(java.lang.String correlationId)
Format the response as a JSON payload.
|
public static PayPalTwoFactorAuthResponse fromJson(java.lang.String string, java.lang.String authorizationFingerprint) throws org.json.JSONException
string
- JSON representation of a PayPalTwoFactorAuthResponseauthorizationFingerprint
- bearer token used to authorize the requestorg.json.JSONException
public java.lang.String getAuthenticateUrl()
public java.lang.String getPaymentToken()
public java.lang.String getResourceIntent()
public java.lang.String getRedirectUrl()
public java.lang.String toJson(java.lang.String correlationId)