com.chargebee.models
Class Comment

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

public class Comment
extends Resource<Comment>


Nested Class Summary
static class Comment.CommentListRequest
           
static class Comment.CreateRequest
           
static class Comment.Type
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Comment(org.json.JSONObject jsonObj)
           
Comment(String jsonStr)
           
 
Method Summary
 String addedBy()
           
static Comment.CreateRequest create()
           
 Timestamp createdAt()
           
static Request delete(String id)
           
 String entityId()
           
 EntityType entityType()
           
 String id()
           
static Comment.CommentListRequest list()
           
 String notes()
           
static Request retrieve(String id)
           
 Comment.Type type()
           
 
Methods inherited from class com.chargebee.internal.Resource
apiVersionCheck, nullCheck, optBigDecimal, optBoolean, optDouble, optEnum, optInteger, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, 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

Comment

public Comment(String jsonStr)

Comment

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

id

public String id()

entityType

public EntityType entityType()

addedBy

public String addedBy()

notes

public String notes()

createdAt

public Timestamp createdAt()

type

public Comment.Type type()

entityId

public String entityId()

create

public static Comment.CreateRequest create()
                                    throws IOException
Throws:
IOException

retrieve

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

list

public static Comment.CommentListRequest list()
                                       throws IOException
Throws:
IOException

delete

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


Copyright © 2017 ChargeBee. All Rights Reserved.