public class PayPalConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
PayPalConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static PayPalConfiguration |
fromJson(org.json.JSONObject json)
Parse an
PayPalConfiguration from json. |
java.lang.String |
getClientId() |
java.lang.String |
getCurrencyIsoCode() |
java.lang.String |
getDirectBaseUrl() |
java.lang.String |
getDisplayName() |
java.lang.String |
getEnvironment() |
java.lang.String |
getPrivacyUrl() |
java.lang.String |
getUserAgreementUrl() |
boolean |
isEnabled()
Deprecated.
Use
Configuration.isPayPalEnabled() for more reliable determination of feature availability. |
boolean |
isTouchDisabled() |
public static PayPalConfiguration fromJson(org.json.JSONObject json)
PayPalConfiguration from json.json - The JSONObject to parse.PayPalConfiguration instance with data that was able to be parsed from
the JSONObject.@Deprecated public boolean isEnabled()
Configuration.isPayPalEnabled() for more reliable determination of feature availability.true if PayPal is enabled, false otherwise.public java.lang.String getDisplayName()
public java.lang.String getClientId()
public java.lang.String getPrivacyUrl()
public java.lang.String getUserAgreementUrl()
public java.lang.String getDirectBaseUrl()
public java.lang.String getEnvironment()
public boolean isTouchDisabled()
true if PayPal touch is currently disabled, false otherwise.public java.lang.String getCurrencyIsoCode()