Class ExternalOrderOperationProviderProperties
java.lang.Object
com.broadleafcommerce.tabby.provider.external.ExternalOrderOperationProviderProperties
@ConfigurationProperties("broadleaf.tabby.orderopsprovider")
public class ExternalOrderOperationProviderProperties
extends Object
The configuration for the external order operation API provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe URI to the customer order info endpoint for anonymous customers.The size of the batch to fetch the orders per request.The URI to the customer order info endpoint.The max number of orders to fetch.getUrl()The base url for an external order operation service.voidinit()voidsetAnonymousCustomerOrderInfoUri(String anonymousCustomerOrderInfoUri) The URI to the customer order info endpoint for anonymous customers.voidsetBatchSize(Integer batchSize) The size of the batch to fetch the orders per request.voidsetCustomerOrderInfoUri(String customerOrderInfoUri) The URI to the customer order info endpoint.voidsetMaxOrderHistorySize(Integer maxOrderHistorySize) The max number of orders to fetch.voidsetServiceClient(String serviceClient) voidThe base url for an external order operation service.
-
Constructor Details
-
ExternalOrderOperationProviderProperties
public ExternalOrderOperationProviderProperties()
-
-
Method Details
-
init
@PostConstruct public void init() -
getUrl
The base url for an external order operation service. NOTE: If this value is not specified, the beansCustomerOrderInfoProviderandTabbyPaymentModificationServicewill not be created. -
getCustomerOrderInfoUri
The URI to the customer order info endpoint. -
getAnonymousCustomerOrderInfoUri
The URI to the customer order info endpoint for anonymous customers. -
getMaxOrderHistorySize
The max number of orders to fetch. This value must be greater than 0.By default, the maximum allowed value is 100. To change it, override
DefaultTabbyPaymentModificationService.getMaxOrderHistorySize() -
getBatchSize
The size of the batch to fetch the orders per request. This value must be greater than 0.By default, the maximum allowed value is 50. To change it, override
DefaultTabbyPaymentModificationService.getBatchSize() -
getServiceClient
-
setUrl
The base url for an external order operation service. NOTE: If this value is not specified, the beansCustomerOrderInfoProviderandTabbyPaymentModificationServicewill not be created. -
setCustomerOrderInfoUri
The URI to the customer order info endpoint. -
setAnonymousCustomerOrderInfoUri
The URI to the customer order info endpoint for anonymous customers. -
setMaxOrderHistorySize
The max number of orders to fetch. This value must be greater than 0.By default, the maximum allowed value is 100. To change it, override
DefaultTabbyPaymentModificationService.getMaxOrderHistorySize() -
setBatchSize
The size of the batch to fetch the orders per request. This value must be greater than 0.By default, the maximum allowed value is 50. To change it, override
DefaultTabbyPaymentModificationService.getBatchSize() -
setServiceClient
-