Interface FulfillmentCaptureClaimSummaryService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary>
- All Known Implementing Classes:
DefaultFulfillmentCaptureClaimSummaryService
public interface FulfillmentCaptureClaimSummaryService<P extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary>
This service provides a mechanism to build a
FulfillmentCaptureClaimSummary based on the
given FulfillmentCaptureClaims.- Author:
- Sunny Yu
-
Method Summary
Modifier and TypeMethodDescriptionbuildClaimSummariesByPaymentId(List<C> fulfillmentCaptureClaims) Builds a list ofFulfillmentCaptureClaimSummariesfrom the given fulfillmentCaptureClaims and consolidate them based onFulfillmentCaptureClaim.getPaymentId().default PbuildClaimSummary(String discriminatorType, String discriminatorId, List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> fulfillmentCaptureClaims) Builds aFulfillmentCaptureClaimSummaryfrom the given fulfillment capture fulfillmentCaptureClaims.default PbuildClaimSummary(String discriminatorId, List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> fulfillmentCaptureClaims) Deprecated.
-
Method Details
-
buildClaimSummary
@Deprecated default P buildClaimSummary(String discriminatorId, List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> fulfillmentCaptureClaims) Deprecated.in favor ofbuildClaimSummary(String, String, List)Builds aFulfillmentCaptureClaimSummaryfrom the given fulfillment capture fulfillmentCaptureClaims.- Parameters:
discriminatorId- the id of the discriminating entity for filtering the fulfillmentCaptureClaims, usually the id of the order fulfillment or paymentfulfillmentCaptureClaims- the list ofFulfillmentCaptureClaimsto build the summary from- Returns:
- a
FulfillmentCaptureClaimSummaryfrom the given fulfillment capture fulfillmentCaptureClaims - Throws:
UnsupportedOperationException- if this is not otherwise implemented.
-
buildClaimSummary
default P buildClaimSummary(String discriminatorType, String discriminatorId, List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> fulfillmentCaptureClaims) Builds aFulfillmentCaptureClaimSummaryfrom the given fulfillment capture fulfillmentCaptureClaims.- Parameters:
discriminatorType- the type of the discriminating entity for filtering the fulfillmentCaptureClaims, usually order fulfillment or paymentdiscriminatorId- the id of the discriminating entity for filtering the fulfillmentCaptureClaims, usually the id of the order fulfillment or paymentfulfillmentCaptureClaims- the list ofFulfillmentCaptureClaimsto build the summary from- Returns:
- a
FulfillmentCaptureClaimSummaryfrom the given fulfillment capture fulfillmentCaptureClaims - Throws:
UnsupportedOperationException- if this or delegate is not otherwise implemented.
-
buildClaimSummariesByPaymentId
<C extends com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> List<P> buildClaimSummariesByPaymentId(List<C> fulfillmentCaptureClaims) Builds a list ofFulfillmentCaptureClaimSummariesfrom the given fulfillmentCaptureClaims and consolidate them based onFulfillmentCaptureClaim.getPaymentId().- Parameters:
fulfillmentCaptureClaims- the list ofFulfillmentCaptureClaimsto build the summary from- Returns:
- a list of
FulfillmentCaptureClaimSummariesfrom the given fulfillmentCaptureClaims and consolidated byFulfillmentCaptureClaim.getPaymentId()
-
buildClaimSummary(String, String, List)