com.chargebee.models
Class Customer

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

public class Customer
extends Resource<Customer>


Nested Class Summary
static class Customer.CardStatus
           
static class Customer.UpdateRequest
           
 
Field Summary
 
Fields inherited from class com.chargebee.internal.Resource
jsonObj
 
Constructor Summary
Customer(org.json.JSONObject jsonObj)
           
Customer(String jsonStr)
           
 
Method Summary
 Customer.CardStatus cardStatus()
           
 String company()
           
 Timestamp createdAt()
           
 String email()
           
 String firstName()
           
 String id()
           
 String lastName()
           
static ListRequest list()
           
static Request retrieve(String id)
           
static Customer.UpdateRequest update(String id)
           
 
Methods inherited from class com.chargebee.internal.Resource
nullCheck, optEnum, optInteger, optJSONObject, optList, optLong, optString, optTimestamp, reqEnum, reqInteger, reqJSONObject, reqList, reqLong, reqString, reqTimestamp, toJson, toString, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Customer

public Customer(String jsonStr)

Customer

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

id

public String id()

firstName

public String firstName()

lastName

public String lastName()

email

public String email()

company

public String company()

createdAt

public Timestamp createdAt()

cardStatus

public Customer.CardStatus cardStatus()

list

public static ListRequest list()
                        throws IOException
Throws:
IOException

retrieve

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

update

public static Customer.UpdateRequest update(String id)
                                     throws IOException
Throws:
IOException


Copyright © 2012 ChargeBee. All Rights Reserved.