com.stripe.model
Class Event

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.Event

public class Event
extends APIResource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stripe.net.APIResource
APIResource.RequestMethod
 
Field Summary
 
Fields inherited from class com.stripe.net.APIResource
CHARSET, gson
 
Fields inherited from class com.stripe.model.StripeObject
prettyPrintGson
 
Constructor Summary
Event()
           
 
Method Summary
static EventCollection all(Map<String,Object> params)
           
static EventCollection all(Map<String,Object> params, String apiKey)
           
 Long getCreated()
           
 EventData getData()
           
 String getId()
           
 Boolean getLivemode()
           
 Integer getPendingWebhooks()
           
 String getType()
           
 String getUserId()
           
static Event retrieve(String id)
           
static Event retrieve(String id, String apiKey)
           
 void setCreated(Long created)
           
 void setData(EventData data)
           
 void setId(String id)
           
 void setLivemode(Boolean livemode)
           
 void setPendingWebhooks(Integer pendingWebhooks)
           
 void setType(String name)
           
 void setUserId(String userId)
           
 
Methods inherited from class com.stripe.net.APIResource
_request, classURL, instanceURL, request, singleClassURL
 
Methods inherited from class com.stripe.model.StripeObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event()
Method Detail

retrieve

public static Event retrieve(String id)
                      throws AuthenticationException,
                             InvalidRequestException,
                             APIConnectionException,
                             CardException,
                             APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public static EventCollection all(Map<String,Object> params)
                           throws AuthenticationException,
                                  InvalidRequestException,
                                  APIConnectionException,
                                  CardException,
                                  APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public static Event retrieve(String id,
                             String apiKey)
                      throws AuthenticationException,
                             InvalidRequestException,
                             APIConnectionException,
                             CardException,
                             APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public static EventCollection all(Map<String,Object> params,
                                  String apiKey)
                           throws AuthenticationException,
                                  InvalidRequestException,
                                  APIConnectionException,
                                  CardException,
                                  APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

getData

public EventData getData()

setData

public void setData(EventData data)

getCreated

public Long getCreated()

setCreated

public void setCreated(Long created)

getId

public String getId()

setId

public void setId(String id)

getType

public String getType()

setType

public void setType(String name)

getUserId

public String getUserId()

setUserId

public void setUserId(String userId)

getLivemode

public Boolean getLivemode()

setLivemode

public void setLivemode(Boolean livemode)

getPendingWebhooks

public Integer getPendingWebhooks()

setPendingWebhooks

public void setPendingWebhooks(Integer pendingWebhooks)


Copyright © 2013 Stripe. All Rights Reserved.