public interface AccountDao extends EntityDao<AccountModelDao,Account,AccountApiException>
create, get, getAll, getById, getByRecordId, getCount, getRecordId, testAccountModelDao getAccountByKey(java.lang.String key, InternalTenantContext context)
Pagination<AccountModelDao> searchAccounts(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, InternalTenantContext context)
java.util.UUID getIdFromKey(java.lang.String externalKey,
InternalTenantContext context)
throws AccountApiException
AccountApiException - when externalKey is nullvoid updatePaymentMethod(java.util.UUID accountId,
java.util.UUID paymentMethodId,
InternalCallContext context)
throws AccountApiException
accountId - the id of the accountpaymentMethodId - the is of the current default paymentMethodAccountApiExceptionvoid update(AccountModelDao account, boolean treatNullValueAsReset, InternalCallContext context) throws AccountApiException
AccountApiExceptionvoid addEmail(AccountEmailModelDao email, InternalCallContext context) throws AccountApiException
AccountApiExceptionvoid removeEmail(AccountEmailModelDao email, InternalCallContext context)
java.util.List<AccountEmailModelDao> getEmailsByAccountId(java.util.UUID accountId, InternalTenantContext context)
java.lang.Integer getAccountBCD(java.util.UUID accountId,
InternalTenantContext context)
java.util.List<AccountModelDao> getAccountsByParentId(java.util.UUID parentAccountId, InternalTenantContext context)
java.util.List<AuditLogWithHistory> getAuditLogsWithHistoryForId(java.util.UUID accountId, org.killbill.billing.util.api.AuditLevel auditLevel, InternalTenantContext context) throws AccountApiException
AccountApiExceptionjava.util.List<AuditLogWithHistory> getEmailAuditLogsWithHistoryForId(java.util.UUID accountEmailId, org.killbill.billing.util.api.AuditLevel auditLevel, InternalTenantContext context) throws AccountApiException
AccountApiExceptionCopyright © 2010-2020. All Rights Reserved.