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 booleanbooleanThe list ofFulfillmentCaptureClaimsfor 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.MonetaryAmountDeprecated.javax.money.MonetaryAmountTotal amount claimed.inthashCode()voidsetClaims(List<FulfillmentCaptureClaim> claims) The list ofFulfillmentCaptureClaimsfor theOrderFulfillment.voidsetDiscriminatorId(String discriminatorId) The id of the discriminating entity for filtering the claims, usually the id of the order fulfillment or payment.voidsetDiscriminatorType(String discriminatorType) The type of discriminating entity for filtering the claims, usually order fulfillment or payment.voidsetTotalAmountCaptured(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 theFulfillmentCaptureClaimstructure.voidsetTotalAmountClaimed(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
FulfillmentCaptureClaimswith 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 theFulfillmentCaptureClaimstructure.Total amount captured.- Returns:
- the total amount captured
-
getClaims
The list ofFulfillmentCaptureClaimsfor theOrderFulfillment.- Returns:
- the list of
FulfillmentCaptureClaimsfor 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
FulfillmentCaptureClaimswith 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 theFulfillmentCaptureClaimstructure.Total amount captured.- Parameters:
totalAmountCaptured- the total amount captured
-
setClaims
The list ofFulfillmentCaptureClaimsfor theOrderFulfillment.- Parameters:
claims- the list ofFulfillmentCaptureClaimsfor theOrderFulfillment
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
FulfillmentCaptureClaimstructure.