001
002package com.commercetools.api.predicates.query.order_edit;
003
004import com.commercetools.api.predicates.query.*;
005
006public class StagedOrderChangePaymentStateActionQueryBuilderDsl {
007    public StagedOrderChangePaymentStateActionQueryBuilderDsl() {
008    }
009
010    public static StagedOrderChangePaymentStateActionQueryBuilderDsl of() {
011        return new StagedOrderChangePaymentStateActionQueryBuilderDsl();
012    }
013
014    public StringComparisonPredicateBuilder<StagedOrderChangePaymentStateActionQueryBuilderDsl> action() {
015        return new StringComparisonPredicateBuilder<>(
016            BinaryQueryPredicate.of().left(new ConstantQueryPredicate("action")),
017            p -> new CombinationQueryPredicate<>(p, StagedOrderChangePaymentStateActionQueryBuilderDsl::of));
018    }
019
020    public StringComparisonPredicateBuilder<StagedOrderChangePaymentStateActionQueryBuilderDsl> paymentState() {
021        return new StringComparisonPredicateBuilder<>(
022            BinaryQueryPredicate.of().left(new ConstantQueryPredicate("paymentState")),
023            p -> new CombinationQueryPredicate<>(p, StagedOrderChangePaymentStateActionQueryBuilderDsl::of));
024    }
025
026}