Class ApprovalFlowRejectActionImpl

java.lang.Object
com.commercetools.api.models.approval_flow.ApprovalFlowRejectActionImpl
All Implemented Interfaces:
ApprovalFlowRejectAction, ApprovalFlowUpdateAction, io.vrap.rmf.base.client.ModelBase

public class ApprovalFlowRejectActionImpl extends Object implements ApprovalFlowRejectAction, io.vrap.rmf.base.client.ModelBase

This update action allows an Associate to reject an Approval Flow, setting its status to Rejected. The process takes into account all Associate Roles held by the Associate, aligning with the matched Approval Rules and their respective approver hierarchies. Even a single rejection in the process will result in the rejection of the entire Approval Flow.

An Associate is eligible to reject only if their roles are within tiers of the Approval Rule hierarchy that are yet to be rejected. An Associate may alter a prior approval into a rejection.