public class Customer extends Resource
| Modifier and Type | Field and Description |
|---|---|
HashMap |
antifraud_info |
ConektaObject |
cards |
Integer |
created_at |
String |
default_card_id |
String |
default_payment_source_id |
Boolean |
deleted |
String |
email |
Boolean |
livemode |
String |
name |
ConektaList |
payment_sources |
String |
phone |
ConektaList |
shipping_contacts |
Subscription |
subscription |
idmodCount| Modifier and Type | Method and Description |
|---|---|
static Customer |
create(org.json.JSONObject params) |
Card |
createCard(org.json.JSONObject params) |
OfflineRecurrentReference |
createOfflineRecurrentReference(org.json.JSONObject params) |
PaymentSource |
createPaymentSource(org.json.JSONObject params) |
ShippingContact |
createShippingContact(org.json.JSONObject params) |
Subscription |
createSubscription(org.json.JSONObject params) |
void |
delete() |
static Customer |
find(String id) |
void |
loadFromObject(org.json.JSONObject jsonObject) |
void |
update(org.json.JSONObject params) |
static ConektaObject |
where() |
static ConektaObject |
where(org.json.JSONObject params) |
classUrl, createMember, createMemberWithRelation, customAction, delete, instanceUrl, scpCreate, scpFind, scpWhere, scpWhereListaux, getId, getVal, loadFromArray, loadFromArray, setId, setVal, toCamelCase, toProperCase, toStringadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic ConektaObject cards
public Subscription subscription
public Boolean livemode
public Integer created_at
public String name
public String email
public String phone
public String default_card_id
public String default_payment_source_id
public Boolean deleted
public HashMap antifraud_info
public ConektaList shipping_contacts
public ConektaList payment_sources
public Customer(String id)
public Customer()
public void loadFromObject(org.json.JSONObject jsonObject)
throws Exception
loadFromObject in class ConektaObjectExceptionpublic static ConektaObject where(org.json.JSONObject params) throws Error, ErrorList
public static ConektaObject where() throws Error, ErrorList
public Card createCard(org.json.JSONObject params) throws Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
public OfflineRecurrentReference createOfflineRecurrentReference(org.json.JSONObject params) throws Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
public Subscription createSubscription(org.json.JSONObject params) throws Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
public ShippingContact createShippingContact(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionpublic PaymentSource createPaymentSource(org.json.JSONObject params) throws org.json.JSONException, Error, ErrorList, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
org.json.JSONExceptionErrorErrorListNoSuchFieldExceptionIllegalArgumentExceptionIllegalAccessExceptionCopyright © 2019. All rights reserved.