Class OrderPositionListenerSkipContribution
java.lang.Object
ch.tocco.nice2.optional.order.api.action.invoice.service.OrderPositionListenerSkipContribution
set a path to a boolean to be checked in OrderPositionDiscountEntityListener,
with an expected Value
if the expected Value is equal to the actual value, the Listener continues with the next entity
invalid input: '{@code
@Bean
public OrderPositionDiscountContribution customOrderPositionDiscountContribution() {
OrderPositionDiscountContribution contribution = new OrderPositionDiscountContribution();
contribution.setPathToField("relArticle.discount_effective");
contribution.setExpectedBoolean(false);
return contribution;
}</pre>'
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setExpectedBoolean
(boolean expectedBoolean) void
setPathToField
(String pathToField)
-
Constructor Details
-
OrderPositionListenerSkipContribution
public OrderPositionListenerSkipContribution()
-
-
Method Details
-
getPathToField
-
setPathToField
-
getExpectedBoolean
public boolean getExpectedBoolean() -
setExpectedBoolean
public void setExpectedBoolean(boolean expectedBoolean)
-