public class Customer extends RecurringEntity<Customer>
id, key, responseCode, responseMessage| Modifier and Type | Method and Description |
|---|---|
RecurringPaymentMethod |
addPaymentMethod(String paymentId,
IPaymentMethod paymentMethod) |
RecurringPaymentMethod |
addPaymentMethod(String paymentId,
IPaymentMethod paymentMethod,
StoredCredential storedCredential) |
Customer |
create() |
Customer |
create(String configName) |
void |
delete() |
void |
delete(boolean force) |
static Customer |
find(String id) |
static Customer |
find(String id,
String configName) |
static List<Customer> |
findAll() |
static List<Customer> |
findAll(String configName) |
static Customer |
get(String key) |
static Customer |
get(String key,
String configName) |
Customer |
saveChanges() |
Customer |
saveChanges(String configName) |
checkSupportsRetrieval, getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, setId, setKeypublic Customer()
public Customer(String id)
public static Customer find(String id) throws ApiException
ApiExceptionpublic static Customer find(String id, String configName) throws ApiException
ApiExceptionpublic static List<Customer> findAll() throws ApiException
ApiExceptionpublic static List<Customer> findAll(String configName) throws ApiException
ApiExceptionpublic static Customer get(String key) throws ApiException
ApiExceptionpublic static Customer get(String key, String configName) throws ApiException
ApiExceptionpublic Customer create() throws ApiException
create in class RecurringEntity<Customer>ApiExceptionpublic Customer create(String configName) throws ApiException
create in interface IRecurringEntity<Customer>create in class RecurringEntity<Customer>ApiExceptionpublic void delete()
throws ApiException
ApiExceptionpublic void delete(boolean force)
throws ApiException
ApiExceptionpublic Customer saveChanges() throws ApiException
ApiExceptionpublic Customer saveChanges(String configName) throws ApiException
ApiExceptionpublic RecurringPaymentMethod addPaymentMethod(String paymentId, IPaymentMethod paymentMethod)
public RecurringPaymentMethod addPaymentMethod(String paymentId, IPaymentMethod paymentMethod, StoredCredential storedCredential)
Copyright © 2024. All rights reserved.