Class ExternalFulfillmentCaptureClaimProvider

java.lang.Object
com.broadleafcommerce.orderoperation.service.provider.external.AbstractExternalProvider
com.broadleafcommerce.orderoperation.service.provider.external.ExternalFulfillmentCaptureClaimProvider
All Implemented Interfaces:
FulfillmentCaptureClaimProvider

public class ExternalFulfillmentCaptureClaimProvider extends AbstractExternalProvider implements FulfillmentCaptureClaimProvider
  • Constructor Details

    • ExternalFulfillmentCaptureClaimProvider

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

    • readByPaymentId

      public com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary readByPaymentId(String paymentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: FulfillmentCaptureClaimProvider
      Retrieves a FulfillmentCaptureClaimSummary that belong to the given payment.
      Specified by:
      readByPaymentId in interface FulfillmentCaptureClaimProvider
      Parameters:
      paymentId - the id of the payment to retrieve the FulfillmentCaptureClaimSummary for
      contextInfo - context information around sandbox and multitenant state
      Returns:
      a FulfillmentCaptureClaimSummary that belong to the given payment
    • readByPaymentIds

      public List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary> readByPaymentIds(List<String> paymentIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: FulfillmentCaptureClaimProvider
      Retrieves a list of FulfillmentCaptureClaimSummaries that belong to the given payments

      Note that each payment has its own FulfillmentCaptureClaimSummary.

      Specified by:
      readByPaymentIds in interface FulfillmentCaptureClaimProvider
      Parameters:
      paymentIds - the ids of the payments to retrieve the FulfillmentCaptureClaimSummaries for
      contextInfo - context information around sandbox and multitenant state
      Returns:
      a list of FulfillmentCaptureClaimSummaries that belong to the given payments
    • readByFulfillmentId

      public com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary readByFulfillmentId(String fulfillmentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: FulfillmentCaptureClaimProvider
      Retrieves a FulfillmentCaptureClaimSummary that belong to the given fulfillment.
      Specified by:
      readByFulfillmentId in interface FulfillmentCaptureClaimProvider
      Parameters:
      fulfillmentId - the id of the order fulfillment to retrieve the FulfillmentCaptureClaimSummary for
      contextInfo - context information around sandbox and multitenant state
      Returns:
      a FulfillmentCaptureClaimSummary that belong to the given fulfillment
    • createFulfillmentCaptureClaims

      public <C extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> List<C> createFulfillmentCaptureClaims(List<C> claimsToCreate, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: FulfillmentCaptureClaimProvider
      Creates a list of FulfillmentCaptureClaims.
      Specified by:
      createFulfillmentCaptureClaims in interface FulfillmentCaptureClaimProvider
      Parameters:
      claimsToCreate - the FulfillmentCaptureClaims to create
      contextInfo - context information around sandbox and multitenant state
      Returns:
      the created FulfillmentCaptureClaims
    • 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 ExternalOrderProperties getProperties()