public interface CustomFieldUserApi extends KillbillApi
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomFields(List<CustomField> fields,
CallContext context) |
Pagination<CustomField> |
getCustomFields(Long offset,
Long limit,
TenantContext context) |
List<CustomField> |
getCustomFieldsForAccount(UUID accountId,
TenantContext context) |
List<CustomField> |
getCustomFieldsForAccountType(UUID accountId,
ObjectType objectType,
TenantContext context) |
List<CustomField> |
getCustomFieldsForObject(UUID objectId,
ObjectType objectType,
TenantContext context) |
void |
removeCustomFields(List<CustomField> fields,
CallContext context) |
Pagination<CustomField> |
searchCustomFields(String searchKey,
Long offset,
Long limit,
TenantContext context)
Find all custom fields having their object type, field name or value matching the search key
|
Pagination<CustomField> searchCustomFields(String searchKey, Long offset, Long limit, TenantContext context)
searchKey - the search keyoffset - the offset of the first resultlimit - the maximum number of results to retrievecontext - the user contextPagination<CustomField> getCustomFields(Long offset, Long limit, TenantContext context)
context - the user contextoffset - the offset of the first resultlimit - the maximum number of results to retrievevoid addCustomFields(List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields - the list of fields to addcontext - the call contextCustomFieldApiExceptionvoid removeCustomFields(List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields - context - CustomFieldApiExceptionList<CustomField> getCustomFieldsForObject(UUID objectId, ObjectType objectType, TenantContext context)
objectId - the object idobjectType - the object typecontext - the call contextList<CustomField> getCustomFieldsForAccountType(UUID accountId, ObjectType objectType, TenantContext context)
accountId - the account idobjectType - the object typecontext - the call contextList<CustomField> getCustomFieldsForAccount(UUID accountId, TenantContext context)
accountId - the account idcontext - the call contextCopyright © 2010-2016. All Rights Reserved.