public class ProductCustomFieldsService extends Object
| Modifier and Type | Method and Description |
|---|---|
BackOfficeProductCustomField |
create(CreateProductCustomFieldRequest request)
Creates a new product custom field.
|
void |
delete(Integer id)
Deletes the product custom field.
|
BackOfficeProductCustomField |
get(Integer id)
Retrieves product custom field data.
|
List<BackOfficeProductCustomField> |
paginate(SearchProductCustomFieldsRequest request)
Goes through all pages of the search product custom fields response and returns a list with all possible
product custom fields that satisfy the request.
|
SearchResult<BackOfficeProductCustomField> |
search(SearchProductCustomFieldsRequest request)
Searches through all product custom fields and returns the search result which contains all
product custom fields that satisfy the request queries.
|
BackOfficeProductCustomField |
update(Integer id,
UpdateProductCustomFieldRequest request)
Updates the product custom field.
|
public SearchResult<BackOfficeProductCustomField> search(SearchProductCustomFieldsRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
request - search request, can be made using the builder methodcom.licensespring.model.exceptions.LicenseSpringExceptionpublic BackOfficeProductCustomField get(Integer id) throws com.licensespring.model.exceptions.LicenseSpringException
id - id of the product custom field that needs to be fetchedcom.licensespring.model.exceptions.LicenseSpringExceptionpublic BackOfficeProductCustomField create(CreateProductCustomFieldRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
request - use builder for constructingcom.licensespring.model.exceptions.LicenseSpringExceptionpublic BackOfficeProductCustomField update(Integer id, UpdateProductCustomFieldRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
id - id of the product custom field that needs an updaterequest - use builder for constructing, fill only fields that you want to updatecom.licensespring.model.exceptions.LicenseSpringExceptionpublic void delete(Integer id) throws com.licensespring.model.exceptions.LicenseSpringException
id - id of the product custom field that needs to be deleted.com.licensespring.model.exceptions.LicenseSpringExceptionpublic List<BackOfficeProductCustomField> paginate(SearchProductCustomFieldsRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
search(SearchProductCustomFieldsRequest) in order to get results per page.request - can be made with builder, contains query fieldscom.licensespring.model.exceptions.LicenseSpringExceptionCopyright © 2022 Cense Data Inc.. All rights reserved.