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 Details

    • ExternalOrderOperationProviderProperties

      public ExternalOrderOperationProviderProperties()
  • Method Details

    • init

      @PostConstruct public void init()
    • getUrl

      public String getUrl()
      The base url for an external order operation service. NOTE: If this value is not specified, the beans CustomerOrderInfoProvider and TabbyPaymentModificationService will not be created.
    • getCustomerOrderInfoUri

      public String getCustomerOrderInfoUri()
      The URI to the customer order info endpoint.
    • getAnonymousCustomerOrderInfoUri

      public String getAnonymousCustomerOrderInfoUri()
      The URI to the customer order info endpoint for anonymous customers.
    • getMaxOrderHistorySize

      public Integer 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

      public Integer 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

      public String getServiceClient()
    • setUrl

      public void setUrl(String url)
      The base url for an external order operation service. NOTE: If this value is not specified, the beans CustomerOrderInfoProvider and TabbyPaymentModificationService will not be created.
    • setCustomerOrderInfoUri

      public void setCustomerOrderInfoUri(String customerOrderInfoUri)
      The URI to the customer order info endpoint.
    • setAnonymousCustomerOrderInfoUri

      public void setAnonymousCustomerOrderInfoUri(String anonymousCustomerOrderInfoUri)
      The URI to the customer order info endpoint for anonymous customers.
    • setMaxOrderHistorySize

      public void setMaxOrderHistorySize(Integer maxOrderHistorySize)
      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

      public void setBatchSize(Integer batchSize)
      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

      public void setServiceClient(String serviceClient)