|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpaypalnvp.core.PayPal
public final class PayPal
Instance of this class is used for sending requests and returning responses from paypal.
| Nested Class Summary | |
|---|---|
static class |
PayPal.Environment
paypal environment - live, sandbox or beta sandbox |
| Constructor Summary | |
|---|---|
PayPal(Profile profile,
PayPal.Environment environment)
Returns new instance of PayPal for use with api signatures. |
|
PayPal(Profile profile,
PayPal.Environment environment,
boolean apiSignature)
Returns new instance of PayPal. |
|
| Method Summary | |
|---|---|
java.lang.String |
getRedirectUrl(Request request)
Returns paypal url, where profile should be redirected. |
void |
setResponse(Request request)
Sets response from PayPal. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PayPal(Profile profile,
PayPal.Environment environment)
profile - environment -
public PayPal(Profile profile,
PayPal.Environment environment,
boolean apiSignature)
profile - environment - apiSignature - - specify if you want to use server for api
signature, or api certificate| Method Detail |
|---|
public void setResponse(Request request)
request - public java.lang.String getRedirectUrl(Request request)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||