com.chargebee.models
Class Customer
java.lang.Object
com.chargebee.internal.Resource<Customer>
com.chargebee.models.Customer
public class Customer
- extends Resource<Customer>
| 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 |
Customer
public Customer(String jsonStr)
Customer
public Customer(org.json.JSONObject jsonObj)
id
public String id()
firstName
public String firstName()
lastName
public String lastName()
email
public String email()
phone
public String phone()
company
public String company()
vatNumber
public String vatNumber()
autoCollection
public AutoCollection autoCollection()
createdAt
public Timestamp createdAt()
createdFromIp
public String createdFromIp()
taxability
public Taxability taxability()
cardStatus
@Deprecated
public Customer.CardStatus cardStatus()
- Deprecated.
billingAddress
public Customer.BillingAddress billingAddress()
paymentMethod
public Customer.PaymentMethod paymentMethod()
invoiceNotes
public String invoiceNotes()
accountCredits
public Integer accountCredits()
create
public static Customer.CreateRequest create()
throws IOException
- Throws:
IOException
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
updatePaymentMethod
public static Customer.UpdatePaymentMethodRequest updatePaymentMethod(String id)
throws IOException
- Throws:
IOException
updateBillingInfo
public static Customer.UpdateBillingInfoRequest updateBillingInfo(String id)
throws IOException
- Throws:
IOException
addAccountCredits
public static Customer.AddAccountCreditsRequest addAccountCredits(String id)
throws IOException
- Throws:
IOException
deductAccountCredits
public static Customer.DeductAccountCreditsRequest deductAccountCredits(String id)
throws IOException
- Throws:
IOException
setAccountCredits
public static Customer.SetAccountCreditsRequest setAccountCredits(String id)
throws IOException
- Throws:
IOException
Copyright © 2015 ChargeBee. All Rights Reserved.