com.paypal.api.payments
Class WebhookList

java.lang.Object
  extended by com.paypal.api.payments.WebhookList

public class WebhookList
extends Object


Constructor Summary
WebhookList()
          Default Constructor
 
Method Summary
 WebhookList getAll(APIContext apiContext)
          Retrieves all Webhooks for the application associated with access token.
 WebhookList getAll(String accessToken)
          Retrieves all Webhooks for the application associated with access token.
 List<Webhook> getWebhooks()
          Getter for webhooks
 WebhookList setWebhooks(List<Webhook> webhooks)
          Setter for webhooks
 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

WebhookList

public WebhookList()
Default Constructor

Method Detail

setWebhooks

public WebhookList setWebhooks(List<Webhook> webhooks)
Setter for webhooks


getWebhooks

public List<Webhook> getWebhooks()
Getter for webhooks


getAll

public WebhookList getAll(String accessToken)
                   throws PayPalRESTException
Retrieves all Webhooks for the application associated with access token.

Parameters:
accessToken - Access Token used for the API call.
Returns:
WebhookList
Throws:
PayPalRESTException

getAll

public WebhookList getAll(APIContext apiContext)
                   throws PayPalRESTException
Retrieves all Webhooks for the application associated with access token.

Parameters:
apiContext - APIContext used for the API call.
Returns:
WebhookList
Throws:
PayPalRESTException

toJSON

public String toJSON()
Returns a JSON string corresponding to object state

Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.