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.void
init()
void
setAnonymousCustomerOrderInfoUri
(String anonymousCustomerOrderInfoUri) The URI to the customer order info endpoint for anonymous customers.void
setBatchSize
(Integer batchSize) The size of the batch to fetch the orders per request.void
setCustomerOrderInfoUri
(String customerOrderInfoUri) The URI to the customer order info endpoint.void
setMaxOrderHistorySize
(Integer maxOrderHistorySize) The max number of orders to fetch.void
setServiceClient
(String serviceClient) void
The 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 beansCustomerOrderInfoProvider
andTabbyPaymentModificationService
will 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 beansCustomerOrderInfoProvider
andTabbyPaymentModificationService
will 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
-