public class IPNMessage extends Object
| Constructor and Description |
|---|
IPNMessage(javax.servlet.http.HttpServletRequest request)
|
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(javax.servlet.http.HttpServletRequest request,
Map<String,String> configurationMap,
boolean decoded)
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,
boolean decoded)
Constructs
IPNMessage using the given Map for name and
values. |
IPNMessage(Map<String,String[]> ipnMap,
Map<String,String> configurationMap)
|
IPNMessage(Map<String,String[]> ipnMap,
Map<String,String> configurationMap,
boolean decoded)
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getIpnMap() |
String |
getIpnValue(String ipnName) |
String |
getPayload() |
String |
getTransactionType() |
boolean |
validate()
This method post back ipn payload to PayPal system for verification
|
public IPNMessage(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest object received from PayPal IPN
call back.public IPNMessage(Map<String,String[]> ipnMap, boolean decoded)
IPNMessage using the given Map for name and
values.ipnMap - Map representing IPN name/value pairdecoded - boolean Representing if the value has been decodedpublic IPNMessage(Map<String,String[]> ipnMap)
IPNMessage using the given Map for name and
values.ipnMap - Map representing IPN name/value pairpublic IPNMessage(javax.servlet.http.HttpServletRequest request,
Map<String,String> configurationMap,
boolean decoded)
IPNMessage using the given HttpServletRequest
to retrieve the name and value Map and a custom configuration
Maprequest - HttpServletRequest object received from PayPal IPN
call back.configurationMap - custom configuration Mapdecoded - boolean Representing if the value has been decodedpublic 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
Maprequest - HttpServletRequest object received from PayPal IPN
call back.configurationMap - custom configuration Mappublic IPNMessage(Map<String,String[]> ipnMap, Map<String,String> configurationMap)
ipnMap - Map representing IPN name/value pairconfigurationMap - public boolean validate()
public String getIpnValue(String ipnName)
ipnName - public String getTransactionType()
public String getPayload()
Copyright © 2016. All Rights Reserved.