Class ExternalOrderFulfillmentProvider<OF extends com.broadleafcommerce.order.client.domain.OrderFulfillment>

java.lang.Object
com.broadleafcommerce.notification.service.provider.external.AbstractExternalProvider
com.broadleafcommerce.notification.service.provider.external.ExternalOrderFulfillmentProvider<OF>
All Implemented Interfaces:
OrderFulfillmentProvider<OF>

public class ExternalOrderFulfillmentProvider<OF extends com.broadleafcommerce.order.client.domain.OrderFulfillment> extends AbstractExternalProvider implements OrderFulfillmentProvider<OF>
  • Constructor Details

    • ExternalOrderFulfillmentProvider

      public ExternalOrderFulfillmentProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalOrderProviderProperties properties)
  • Method Details

    • readByFulfillmentId

      public OF readByFulfillmentId(@NonNull @NonNull String fulfillmentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: OrderFulfillmentProvider
      Retrieve the OrderFulfillment with the given ID.
      Specified by:
      readByFulfillmentId in interface OrderFulfillmentProvider<OF extends com.broadleafcommerce.order.client.domain.OrderFulfillment>
      Parameters:
      fulfillmentId - the ID of the fulfillment to retrieve
      contextInfo - context information around sandbox and multitenant state.
      Returns:
      the fulfillment with the given ID
    • getBaseUri

      protected org.springframework.web.util.UriComponentsBuilder getBaseUri()
      Gets the base URI common to all requests this provider will make.
      Returns:
      a URI components builder with the base URI set up
    • getServiceClient

      protected String getServiceClient()
    • getProperties

      protected ExternalOrderProviderProperties getProperties()