Class RejectMapResponse
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.RejectMapResponse
The result of a request to reject a previous promotion
- Author:
- Jeff Fischer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The resulting promotion sandbox state after anyChangeDetail
instances have been removed, and the entity state updated to reflect the removal.The resulting user sandbox state after the reject request.int
hashCode()
boolean
void
setAdvancedState
(Trackable advancedState) The resulting promotion sandbox state after anyChangeDetail
instances have been removed, and the entity state updated to reflect the removal.void
setShouldArchiveAdvancedState
(boolean shouldArchiveAdvancedState) toString()
withAdvancedState
(Trackable advancedState) withShouldArchiveAdvancedState
(boolean shouldArchiveAdvancedState)
-
Constructor Details
-
RejectMapResponse
-
-
Method Details
-
withAdvancedState
-
withShouldArchiveAdvancedState
-
getAdvancedState
The resulting promotion sandbox state after anyChangeDetail
instances have been removed, and the entity state updated to reflect the removal. This can be null in cases where the reject request resulted in the removal of all change details.- Returns:
- The resulting promotion sandbox state after a reject request
-
getUserState
The resulting user sandbox state after the reject request. The user state contains only changes related to the rejected promotion.- Returns:
- The resulting user sandbox state after the reject request
-
isShouldArchiveAdvancedState
public boolean isShouldArchiveAdvancedState() -
setAdvancedState
The resulting promotion sandbox state after anyChangeDetail
instances have been removed, and the entity state updated to reflect the removal. This can be null in cases where the reject request resulted in the removal of all change details.- Parameters:
advancedState
- The resulting promotion sandbox state after a reject request
-
setShouldArchiveAdvancedState
public void setShouldArchiveAdvancedState(boolean shouldArchiveAdvancedState) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-