public interface OrdersApi
Modifier and Type | Method and Description |
---|---|
Manager |
addManagerToOrder(Long id,
AddManagerToOrderRequest request)
Add manager to order.
|
BackOfficeInstallationFile |
createInstallationFile(CreateInstallationFileRequest request)
Creates a new installation file.
|
CreateOrderResponse |
createOrder(com.licensespring.model.order.WebhookOrder request)
Create/Update order using the webhook DTO.
|
BackOfficeProductCustomField |
createProductCustomField(CreateProductCustomFieldRequest request)
Create a product custom field.
|
void |
deleteProductCustomField(int id)
Delete the product custom field.
|
feign.Response |
exportToCsv(LocalDate from,
LocalDate to)
Exports orders to a csv format.
|
feign.Response |
exportToCsv(Range range)
Exports orders to a csv format, using the predefined ranges.
|
String[] |
generateLicenseKeys(com.licensespring.dto.GenerateLicenseRequest request)
Generates unique license keys to be used with an order containing license-key based licenses.
|
BackOfficeInstallationFile |
getInstallationFile(int id)
Gets information about the specific Installation File.
|
Order |
getOrder(Long id)
Gets order by LS internal ID.
|
BackOfficeProduct |
getProduct(Long id)
Gets product information.
|
BackOfficeProductCustomField |
getProductCustomField(int id)
Get product custom field data.
|
SearchResult<BackOfficeInstallationFile> |
searchInstallationFiles(SearchInstallationFilesRequest request)
Search installation files.
|
SearchResult<Order> |
searchOrders(SearchOrdersRequest request)
Gets a paginated set of orders based on input search request.
|
SearchResult<BackOfficeProductCustomField> |
searchProductCustomFields(SearchProductCustomFieldsRequest request)
Search product custom fields.
|
SearchResult<BackOfficeProduct> |
searchProducts(SearchProductsRequest request)
Search products.
|
BackOfficeProductCustomField |
updateProductCustomField(int id,
UpdateProductCustomFieldRequest request)
Update the product custom field.
|
SearchResult<Order> searchOrders(SearchOrdersRequest request)
request
- the request filtering optionsOrder getOrder(Long id)
id
- the id of the orderfeign.Response exportToCsv(LocalDate from, LocalDate to)
from
- the fromto
- the tofeign.Response exportToCsv(Range range)
range
- the rangeString[] generateLicenseKeys(com.licensespring.dto.GenerateLicenseRequest request)
request
- how many licenses and for which productCreateOrderResponse createOrder(com.licensespring.model.order.WebhookOrder request)
request
- the requestManager addManagerToOrder(Long id, AddManagerToOrderRequest request)
id
- id of the orderrequest
- manager informationSearchResult<BackOfficeProduct> searchProducts(SearchProductsRequest request)
request
- the requestBackOfficeProduct getProduct(Long id)
id
- the id (internal) of the productSearchResult<BackOfficeInstallationFile> searchInstallationFiles(SearchInstallationFilesRequest request)
request
- queries and filters for the searchBackOfficeInstallationFile getInstallationFile(int id)
id
- id of the installation fileBackOfficeInstallationFile createInstallationFile(CreateInstallationFileRequest request)
request
- details of the fileSearchResult<BackOfficeProductCustomField> searchProductCustomFields(SearchProductCustomFieldsRequest request)
request
- the requestBackOfficeProductCustomField getProductCustomField(int id)
id
- the id of the product custom fieldBackOfficeProductCustomField createProductCustomField(CreateProductCustomFieldRequest request)
request
- the requestBackOfficeProductCustomField updateProductCustomField(int id, UpdateProductCustomFieldRequest request)
id
- the id of the product custom fieldrequest
- the requestvoid deleteProductCustomField(int id)
id
- the id of the product custom fieldCopyright © 2023 Cense Data Inc.. All rights reserved.