Class OverrideDetail
java.lang.Object
com.broadleafcommerce.order.common.domain.OverrideDetail
- All Implemented Interfaces:
Serializable
Audit information for a CSR override which was performed.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The admin user who performed the override.The optional, long-form comment explaining any extra context for the override.javax.money.MonetaryAmount
The amount contained in the field prior to being overridden.javax.money.MonetaryAmount
The amount which the field has been overridden to.The reason the override was performed, for example, "Price Match".getType()
The type of override performed, e.g.The user ID of the admin user who performed the override.int
hashCode()
void
The admin user who performed the override.void
setComment
(String comment) The optional, long-form comment explaining any extra context for the override.void
setOriginalAmount
(javax.money.MonetaryAmount originalAmount) The amount contained in the field prior to being overridden.void
setOverrideAmount
(javax.money.MonetaryAmount overrideAmount) The amount which the field has been overridden to.void
The reason the override was performed, for example, "Price Match".void
The type of override performed, e.g.void
The user ID of the admin user who performed the override.toString()
-
Constructor Details
-
OverrideDetail
public OverrideDetail()
-
-
Method Details
-
getUserId
The user ID of the admin user who performed the override.- Returns:
- The ID of the admin user who pepwd rformed the override.
-
getAuthor
The admin user who performed the override.- Returns:
- The admin user who performed the override.
-
getType
The type of override performed, e.g. a Cart Item Price override or a Fulfillment Group Price override.- Returns:
- The type of override performed.
- See Also:
-
getOriginalAmount
public javax.money.MonetaryAmount getOriginalAmount()The amount contained in the field prior to being overridden.- Returns:
- The amount contained in the field prior to being overridden.
-
getOverrideAmount
public javax.money.MonetaryAmount getOverrideAmount()The amount which the field has been overridden to.- Returns:
- The amount which the field has been overridden to.
-
getReason
The reason the override was performed, for example, "Price Match".- Returns:
- The reason the override was performed.
-
getComment
The optional, long-form comment explaining any extra context for the override.- Returns:
- The optional, long-form comment explaining any extra context for the override.
-
setUserId
The user ID of the admin user who performed the override.- Parameters:
userId
- The ID of the admin user who performed the override.
-
setAuthor
The admin user who performed the override.- Parameters:
userId
- The admin user who performed the override.
-
setType
The type of override performed, e.g. a Cart Item Price override or a Fulfillment Group Price override.- Parameters:
type
- The type of override performed.- See Also:
-
setOriginalAmount
public void setOriginalAmount(javax.money.MonetaryAmount originalAmount) The amount contained in the field prior to being overridden.- Parameters:
originalAmount
- The amount contained in the field prior to being overridden.
-
setOverrideAmount
public void setOverrideAmount(javax.money.MonetaryAmount overrideAmount) The amount which the field has been overridden to.- Parameters:
overrideAmount
- The amount which the field has been overridden to.
-
setReason
The reason the override was performed, for example, "Price Match".- Parameters:
reason
- The reason the override was performed.
-
setComment
The optional, long-form comment explaining any extra context for the override.- Parameters:
comment
- The optional, long-form comment explaining any extra context for the override.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-