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, optJSONArray, optJSONObject, optList, optLong, optString, optSubResource, optTimestamp, reqBigDecimal, reqBoolean, reqDouble, reqEnum, reqInteger, reqJSONArray, 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()
vatNumberValidatedTime
public Timestamp vatNumberValidatedTime()
vatNumberStatus
public Customer.VatNumberStatus vatNumberStatus()
allowDirectDebit
public Boolean allowDirectDebit()
isLocationValid
public Boolean isLocationValid()
createdAt
public Timestamp createdAt()
createdFromIp
public String createdFromIp()
exemptionDetails
public org.json.JSONArray exemptionDetails()
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()
piiCleared
public Customer.PiiCleared piiCleared()
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()
businessCustomerWithoutVatNumber
public Boolean businessCustomerWithoutVatNumber()
customerType
public CustomerType customerType()
clientProfileId
public String clientProfileId()
relationship
public Customer.Relationship relationship()
create
public static Customer.CreateRequest create()
list
public static Customer.CustomerListRequest list()
retrieve
public static Request retrieve(String id)
update
public static Customer.UpdateRequest update(String id)
updatePaymentMethod
public static Customer.UpdatePaymentMethodRequest updatePaymentMethod(String id)
updateBillingInfo
public static Customer.UpdateBillingInfoRequest updateBillingInfo(String id)
contactsForCustomer
public static ListRequest contactsForCustomer(String id)
assignPaymentRole
public static Customer.AssignPaymentRoleRequest assignPaymentRole(String id)
addContact
public static Customer.AddContactRequest addContact(String id)
updateContact
public static Customer.UpdateContactRequest updateContact(String id)
deleteContact
public static Customer.DeleteContactRequest deleteContact(String id)
addPromotionalCredits
@Deprecated
public static Customer.AddPromotionalCreditsRequest addPromotionalCredits(String id)
- Deprecated.
deductPromotionalCredits
@Deprecated
public static Customer.DeductPromotionalCreditsRequest deductPromotionalCredits(String id)
- Deprecated.
setPromotionalCredits
@Deprecated
public static Customer.SetPromotionalCreditsRequest setPromotionalCredits(String id)
- Deprecated.
recordExcessPayment
public static Customer.RecordExcessPaymentRequest recordExcessPayment(String id)
collectPayment
public static Customer.CollectPaymentRequest collectPayment(String id)
delete
public static Customer.DeleteRequest delete(String id)
move
public static Customer.MoveRequest move()
changeBillingDate
public static Customer.ChangeBillingDateRequest changeBillingDate(String id)
merge
public static Customer.MergeRequest merge()
clearPersonalData
public static Request clearPersonalData(String id)
relationships
public static Customer.RelationshipsRequest relationships(String id)
deleteRelationship
public static Request deleteRelationship(String id)
hierarchy
public static Customer.HierarchyRequest hierarchy(String id)
Copyright © 2019 ChargeBee. All Rights Reserved.