|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.base.ipn.IPNMessage
public class IPNMessage
| Constructor Summary | |
|---|---|
IPNMessage(javax.servlet.http.HttpServletRequest request)
Constructs IPNMessage using the given HttpServletRequest
to retrieve the name and value Map. |
|
IPNMessage(javax.servlet.http.HttpServletRequest request,
Map<String,String> configurationMap)
Constructs IPNMessage using the given HttpServletRequest
to retrieve the name and value Map and a custom configuration
Map |
|
IPNMessage(Map<String,String[]> ipnMap)
Constructs IPNMessage using the given Map for name and
values. |
|
IPNMessage(Map<String,String[]> ipnMap,
Map<String,String> configurationMap)
Constructs IPNMessage using the given Map for name and
values and a custom configuration Map |
|
| Method Summary | |
|---|---|
Map<String,String> |
getIpnMap()
|
String |
getIpnValue(String ipnName)
|
String |
getTransactionType()
|
boolean |
validate()
This method post back ipn payload to PayPal system for verification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IPNMessage(javax.servlet.http.HttpServletRequest request)
IPNMessage using the given HttpServletRequest
to retrieve the name and value Map.
request - HttpServletRequest object received from PayPal IPN
call back.public IPNMessage(Map<String,String[]> ipnMap)
IPNMessage using the given Map for name and
values.
ipnMap - Map representing IPN name/value pair
public IPNMessage(javax.servlet.http.HttpServletRequest request,
Map<String,String> configurationMap)
IPNMessage using the given HttpServletRequest
to retrieve the name and value Map and a custom configuration
Map
request - HttpServletRequest object received from PayPal IPN
call back.configurationMap - custom configuration Map
public IPNMessage(Map<String,String[]> ipnMap,
Map<String,String> configurationMap)
IPNMessage using the given Map for name and
values and a custom configuration Map
ipnMap - Map representing IPN name/value pairconfigurationMap - | Method Detail |
|---|
public boolean validate()
public Map<String,String> getIpnMap()
public String getIpnValue(String ipnName)
ipnName -
public String getTransactionType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||