|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.api.payments.Event
public class Event
| Constructor Summary | |
|---|---|
Event()
Default Constructor |
|
| Method Summary | |
|---|---|
static Event |
get(APIContext apiContext,
String eventId)
Retrieves the Webhooks event resource identified by event_id. |
static Event |
get(String accessToken,
String eventId)
Retrieves the Webhooks event resource identified by event_id. |
String |
getCreateTime()
Getter for createTime |
String |
getEventType()
Getter for eventType |
String |
getId()
Getter for id |
static String |
getLastRequest()
Returns the last request sent to the Service |
static String |
getLastResponse()
Returns the last response returned by the Service |
List<Links> |
getLinks()
Getter for links |
Object |
getResource()
Getter for resource |
String |
getResourceType()
Getter for resourceType |
String |
getSummary()
Getter for summary |
static void |
initConfig(File file)
Initialize using a File(Properties file) |
static void |
initConfig(InputStream is)
Initialize using InputStream(of a Properties file) |
static void |
initConfig(Properties properties)
Initialize using Properties |
static EventList |
list(APIContext apiContext,
String queryParams)
Retrieves the list of Webhooks events resources for the application associated with token. |
static EventList |
list(String accessToken,
String queryParams)
Retrieves the list of Webhooks events resources for the application associated with token. |
Event |
resend(APIContext apiContext)
Resends the Webhooks event resource identified by event_id. |
Event |
resend(String accessToken)
Resends the Webhooks event resource identified by event_id. |
Event |
setCreateTime(String createTime)
Setter for createTime |
Event |
setEventType(String eventType)
Setter for eventType |
Event |
setId(String id)
Setter for id |
Event |
setLinks(List<Links> links)
Setter for links |
Event |
setResource(Object resource)
Setter for resource |
Event |
setResourceType(String resourceType)
Setter for resourceType |
Event |
setSummary(String summary)
Setter for summary |
String |
toJSON()
Returns a JSON string corresponding to object state |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Event()
| Method Detail |
|---|
public static String getLastRequest()
public static String getLastResponse()
public static void initConfig(InputStream is)
throws PayPalRESTException
is - InputStream
PayPalRESTException
public static void initConfig(File file)
throws PayPalRESTException
file - File object of a properties entity
PayPalRESTExceptionpublic static void initConfig(Properties properties)
properties - Properties objectpublic Event setId(String id)
public String getId()
public Event setCreateTime(String createTime)
public String getCreateTime()
public Event setResourceType(String resourceType)
public String getResourceType()
public Event setEventType(String eventType)
public String getEventType()
public Event setSummary(String summary)
public String getSummary()
public Event setResource(Object resource)
public Object getResource()
public Event setLinks(List<Links> links)
public List<Links> getLinks()
public static Event get(String accessToken,
String eventId)
throws PayPalRESTException
accessToken - Access Token used for the API call.eventId - String
PayPalRESTException
public static Event get(APIContext apiContext,
String eventId)
throws PayPalRESTException
apiContext - APIContext used for the API call.eventId - String
PayPalRESTException
public Event resend(String accessToken)
throws PayPalRESTException
accessToken - Access Token used for the API call.
PayPalRESTException
public Event resend(APIContext apiContext)
throws PayPalRESTException
apiContext - APIContext used for the API call.
PayPalRESTException
public static EventList list(String accessToken,
String queryParams)
throws PayPalRESTException
accessToken - Access Token used for the API call.
PayPalRESTException
public static EventList list(APIContext apiContext,
String queryParams)
throws PayPalRESTException
apiContext - APIContext used for the API call.
PayPalRESTExceptionpublic String toJSON()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||