Interface FulfillmentCaptureClaimProvider
- All Known Implementing Classes:
ExternalFulfillmentCaptureClaimProvider
public interface FulfillmentCaptureClaimProvider
Provider for interfacing with operations involving fulfillment capture claims. Typically utilizes
WebClient
to make requests to an external REST API.- Author:
- Sunny Yu
-
Method Summary
Modifier and TypeMethodDescription<C extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim>
List<C>createFulfillmentCaptureClaims
(List<C> claimsToCreate, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates a list ofFulfillmentCaptureClaims
.com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary
readByFulfillmentId
(String fulfillmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves aFulfillmentCaptureClaimSummary
that belong to the given fulfillment.com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary
readByPaymentId
(String paymentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves aFulfillmentCaptureClaimSummary
that belong to the given payment.List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary>
readByPaymentIds
(List<String> paymentIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves a list ofFulfillmentCaptureClaimSummaries
that belong to the given payments
-
Method Details
-
readByPaymentId
com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary readByPaymentId(String paymentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves aFulfillmentCaptureClaimSummary
that belong to the given payment.- Parameters:
paymentId
- the id of the payment to retrieve theFulfillmentCaptureClaimSummary
forcontextInfo
- context information around sandbox and multitenant state- Returns:
- a
FulfillmentCaptureClaimSummary
that belong to the given payment
-
readByPaymentIds
List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary> readByPaymentIds(List<String> paymentIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves a list ofFulfillmentCaptureClaimSummaries
that belong to the given paymentsNote that each payment has its own
FulfillmentCaptureClaimSummary
.- Parameters:
paymentIds
- the ids of the payments to retrieve theFulfillmentCaptureClaimSummaries
forcontextInfo
- context information around sandbox and multitenant state- Returns:
- a list of
FulfillmentCaptureClaimSummaries
that belong to the given payments
-
readByFulfillmentId
com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary readByFulfillmentId(String fulfillmentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves aFulfillmentCaptureClaimSummary
that belong to the given fulfillment.- Parameters:
fulfillmentId
- the id of the order fulfillment to retrieve theFulfillmentCaptureClaimSummary
forcontextInfo
- context information around sandbox and multitenant state- Returns:
- a
FulfillmentCaptureClaimSummary
that belong to the given fulfillment
-
createFulfillmentCaptureClaims
<C extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> List<C> createFulfillmentCaptureClaims(List<C> claimsToCreate, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates a list ofFulfillmentCaptureClaims
.- Parameters:
claimsToCreate
- theFulfillmentCaptureClaims
to createcontextInfo
- context information around sandbox and multitenant state- Returns:
- the created
FulfillmentCaptureClaims
-