Class FulfillmentCaptureClaimSummary
java.lang.Object
com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaimSummary
- All Implemented Interfaces:
Serializable
Domain that summarizes the current state of capture transaction claims for a single fulfillment
or payment.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The list ofFulfillmentCaptureClaims
for theOrderFulfillment
.The id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment.The type of discriminating entity for filtering the claims, usually order fulfillment or payment.javax.money.MonetaryAmount
Deprecated.javax.money.MonetaryAmount
Total amount claimed.int
hashCode()
void
setClaims
(List<FulfillmentCaptureClaim> claims) The list ofFulfillmentCaptureClaims
for theOrderFulfillment
.void
setDiscriminatorId
(String discriminatorId) The id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment.void
setDiscriminatorType
(String discriminatorType) The type of discriminating entity for filtering the claims, usually order fulfillment or payment.void
setTotalAmountCaptured
(javax.money.MonetaryAmount totalAmountCaptured) Deprecated.In favor of using the TransactionSummary concept from PaymentTransactionServices to understand the amount captured for a fulfillment, instead of recording captured amounts for fulfillments in theFulfillmentCaptureClaim
structure.void
setTotalAmountClaimed
(javax.money.MonetaryAmount totalAmountClaimed) Total amount claimed.toString()
-
Constructor Details
-
FulfillmentCaptureClaimSummary
public FulfillmentCaptureClaimSummary()
-
-
Method Details
-
getDiscriminatorType
The type of discriminating entity for filtering the claims, usually order fulfillment or payment.- Returns:
- The type of discriminating entity for filtering the claims, usually order fulfillment or payment.
- See Also:
-
getDiscriminatorId
The id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment.For example, if the summary was built for a list of
FulfillmentCaptureClaims
with the same order fulfillment, then the value would be the order fulfillment id.- Returns:
- the id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment
-
getTotalAmountClaimed
public javax.money.MonetaryAmount getTotalAmountClaimed()Total amount claimed.- Returns:
- the total amount claimed
-
getTotalAmountCaptured
Deprecated.In favor of using the TransactionSummary concept from PaymentTransactionServices to understand the amount captured for a fulfillment, instead of recording captured amounts for fulfillments in theFulfillmentCaptureClaim
structure.Total amount captured.- Returns:
- the total amount captured
-
getClaims
The list ofFulfillmentCaptureClaims
for theOrderFulfillment
.- Returns:
- the list of
FulfillmentCaptureClaims
for theOrderFulfillment
-
setDiscriminatorType
The type of discriminating entity for filtering the claims, usually order fulfillment or payment.- Parameters:
discriminatorType
- The type of discriminating entity for filtering the claims, usually order fulfillment or payment.- See Also:
-
setDiscriminatorId
The id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment.For example, if the summary was built for a list of
FulfillmentCaptureClaims
with the same order fulfillment, then the value would be the order fulfillment id.- Parameters:
discriminatorId
- the id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment
-
setTotalAmountClaimed
public void setTotalAmountClaimed(javax.money.MonetaryAmount totalAmountClaimed) Total amount claimed.- Parameters:
totalAmountClaimed
- the total amount claimed
-
setTotalAmountCaptured
Deprecated.In favor of using the TransactionSummary concept from PaymentTransactionServices to understand the amount captured for a fulfillment, instead of recording captured amounts for fulfillments in theFulfillmentCaptureClaim
structure.Total amount captured.- Parameters:
totalAmountCaptured
- the total amount captured
-
setClaims
The list ofFulfillmentCaptureClaims
for theOrderFulfillment
.- Parameters:
claims
- the list ofFulfillmentCaptureClaims
for theOrderFulfillment
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
FulfillmentCaptureClaim
structure.