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)
           
 Long getCreated()
           
 EventData getData()
           
 String getId()
           
 Boolean getLivemode()
           
 Integer getPendingWebhooks()
           
 String getType()
           
static Event retrieve(String id)
           
 void setCreated(Long created)
           
 void setData(EventData data)
           
 void setId(String id)
           
 void setLivemode(Boolean livemode)
           
 void setPendingWebhooks(Integer pendingWebhooks)
           
 void setType(String name)
           
 
Methods inherited from class com.stripe.net.APIResource
classURL, instanceURL, request
 
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 StripeException
Throws:
StripeException

all

public static EventCollection all(Map<String,Object> params)
                           throws StripeException
Throws:
StripeException

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)

getLivemode

public Boolean getLivemode()

setLivemode

public void setLivemode(Boolean livemode)

getPendingWebhooks

public Integer getPendingWebhooks()

setPendingWebhooks

public void setPendingWebhooks(Integer pendingWebhooks)


Copyright © 2012 Stripe. All Rights Reserved.