com.chargebee.models
Class Event

java.lang.Object
  extended by com.chargebee.internal.Resource<Event>
      extended by com.chargebee.models.Event

public class Event
extends Resource<Event>


Nested Class Summary
static class Event.Content
           
static class Event.EventListRequest
           
static class Event.Webhook
           
static class Event.WebhookStatus
          Deprecated. 
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Event(BufferedReader rd)
           
Event(InputStream is)
           
Event(org.json.JSONObject jsonObj)
           
Event(String jsonStr)
           
 
Method Summary
 Event.Content content()
           
 EventType eventType()
           
 String id()
           
static Event.EventListRequest list()
           
 Timestamp occurredAt()
           
static Request retrieve(String id)
           
 Source source()
           
 String user()
           
 String webhookFailureReason()
          Deprecated. 
 List<Event.Webhook> webhooks()
           
 Event.WebhookStatus webhookStatus()
          Deprecated. 
 
Methods inherited from class com.chargebee.internal.Resource
nullCheck, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqSubResource, reqTimestamp, toJson, toString, uri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event(InputStream is)
      throws IOException
Throws:
IOException

Event

public Event(BufferedReader rd)
      throws IOException
Throws:
IOException

Event

public Event(String jsonStr)

Event

public Event(org.json.JSONObject jsonObj)
Method Detail

id

public String id()

occurredAt

public Timestamp occurredAt()

source

public Source source()

user

public String user()

webhookStatus

@Deprecated
public Event.WebhookStatus webhookStatus()
Deprecated. 


webhookFailureReason

@Deprecated
public String webhookFailureReason()
Deprecated. 


webhooks

public List<Event.Webhook> webhooks()

eventType

public EventType eventType()

list

public static Event.EventListRequest list()
                                   throws IOException
Throws:
IOException

retrieve

public static Request retrieve(String id)
                        throws IOException
Throws:
IOException

content

public Event.Content content()


Copyright © 2015 ChargeBee. All Rights Reserved.