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 |
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 |
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()
netTermDays
public Integer netTermDays()
allowDirectDebit
public Boolean allowDirectDebit()
createdAt
public Timestamp createdAt()
createdFromIp
public String createdFromIp()
taxability
public Taxability taxability()
entityCode
public EntityCode entityCode()
exemptNumber
public String exemptNumber()
resourceVersion
public Long resourceVersion()
updatedAt
public Timestamp updatedAt()
locale
public String locale()
consolidatedInvoicing
public Boolean consolidatedInvoicing()
billingDate
public Integer billingDate()
billingDateMode
public BillingDateMode billingDateMode()
billingDayOfWeek
public Customer.BillingDayOfWeek billingDayOfWeek()
billingDayOfWeekMode
public BillingDayOfWeekMode billingDayOfWeekMode()
cardStatus
@Deprecated
public Customer.CardStatus cardStatus()
- Deprecated.
fraudFlag
public Customer.FraudFlag fraudFlag()
primaryPaymentSourceId
public String primaryPaymentSourceId()
backupPaymentSourceId
public String backupPaymentSourceId()
billingAddress
public Customer.BillingAddress billingAddress()
referralUrls
public List<Customer.ReferralUrl> referralUrls()
contacts
public List<Customer.Contact> contacts()
paymentMethod
public Customer.PaymentMethod paymentMethod()
invoiceNotes
public String invoiceNotes()
preferredCurrencyCode
public String preferredCurrencyCode()
promotionalCredits
public Integer promotionalCredits()
unbilledCharges
public Integer unbilledCharges()
refundableCredits
public Integer refundableCredits()
excessPayments
public Integer excessPayments()
balances
public List<Customer.Balance> balances()
metaData
public org.json.JSONObject metaData()
deleted
public Boolean deleted()
registeredForGst
public Boolean registeredForGst()
create
public static Customer.CreateRequest create()
throws IOException
- Throws:
IOException
list
public static Customer.CustomerListRequest 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
assignPaymentRole
public static Customer.AssignPaymentRoleRequest assignPaymentRole(String id)
throws IOException
- Throws:
IOException
addContact
public static Customer.AddContactRequest addContact(String id)
throws IOException
- Throws:
IOException
updateContact
public static Customer.UpdateContactRequest updateContact(String id)
throws IOException
- Throws:
IOException
deleteContact
public static Customer.DeleteContactRequest deleteContact(String id)
throws IOException
- Throws:
IOException
addPromotionalCredits
@Deprecated
public static Customer.AddPromotionalCreditsRequest addPromotionalCredits(String id)
throws IOException
- Deprecated.
- Throws:
IOException
deductPromotionalCredits
@Deprecated
public static Customer.DeductPromotionalCreditsRequest deductPromotionalCredits(String id)
throws IOException
- Deprecated.
- Throws:
IOException
setPromotionalCredits
@Deprecated
public static Customer.SetPromotionalCreditsRequest setPromotionalCredits(String id)
throws IOException
- Deprecated.
- Throws:
IOException
recordExcessPayment
public static Customer.RecordExcessPaymentRequest recordExcessPayment(String id)
throws IOException
- Throws:
IOException
collectPayment
public static Customer.CollectPaymentRequest collectPayment(String id)
throws IOException
- Throws:
IOException
delete
public static Customer.DeleteRequest delete(String id)
throws IOException
- Throws:
IOException
move
public static Customer.MoveRequest move()
throws IOException
- Throws:
IOException
changeBillingDate
public static Customer.ChangeBillingDateRequest changeBillingDate(String id)
throws IOException
- Throws:
IOException
Copyright © 2018 ChargeBee. All Rights Reserved.