io.sphere.sdk.payments.queries.PaymentQuery Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasQueryEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasQueryEndpoint.
in the source class io.sphere.sdk.payments.Payment.
To render this class the handlebars template 'queries/resourceQueryInterface.hbs' has been used.
*/
package io.sphere.sdk.payments.queries;
import com.fasterxml.jackson.core.type.TypeReference;
import io.sphere.sdk.payments.Payment;
import io.sphere.sdk.payments.expansion.PaymentExpansionModel;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.queries.PagedQueryResult;
import io.sphere.sdk.queries.MetaModelQueryDsl;
import io.sphere.sdk.queries.QueryPredicate;
import io.sphere.sdk.queries.QuerySort;
import java.util.List;
import java.util.Locale;
import java.util.function.Function;
import java.util.Optional;
/**
* {@doc.gen summary payments
*/
public interface PaymentQuery extends MetaModelQueryDsl> {
/**
* Creates a container which contains the full Java type information to deserialize the query result (NOT this class) from JSON.
*
* @see io.sphere.sdk.json.SphereJsonUtils#readObject(byte[], TypeReference)
* @see io.sphere.sdk.json.SphereJsonUtils#readObject(String, TypeReference)
* @see io.sphere.sdk.json.SphereJsonUtils#readObject(com.fasterxml.jackson.databind.JsonNode, TypeReference)
* @see io.sphere.sdk.json.SphereJsonUtils#readObjectFromResource(String, TypeReference)
*
* @return type reference
*/
static TypeReference> resultTypeReference() {
return new TypeReference>() {
@Override
public String toString() {
return "TypeReference>";
}
};
}
static PaymentQuery of() {
return new PaymentQueryImpl();
}
@Override
PaymentQuery plusPredicates(final Function> m);
@Override
PaymentQuery plusPredicates(final QueryPredicate queryPredicate);
@Override
PaymentQuery plusPredicates(final List> queryPredicates);
@Override
PaymentQuery plusSort(final Function> m);
@Override
PaymentQuery plusSort(final List> sort);
@Override
PaymentQuery plusSort(final QuerySort sort);
@Override
PaymentQuery withPredicates(final Function> predicateFunction);
@Override
PaymentQuery withPredicates(final QueryPredicate queryPredicate);
@Override
PaymentQuery withPredicates(final List> queryPredicates);
@Override
PaymentQuery withSort(final Function> m);
@Override
PaymentQuery withSort(final List> sort);
@Override
PaymentQuery withSort(final QuerySort sort);
@Override
PaymentQuery withSortMulti(final Function>> m);
@Override
PaymentQuery plusExpansionPaths(final Function, ExpansionPathContainer> m);
@Override
PaymentQuery withExpansionPaths(final Function, ExpansionPathContainer> m);
@Override
PaymentQuery withFetchTotal(final boolean fetchTotal);
@Override
PaymentQuery withLimit(final Long limit);
@Override
PaymentQuery withOffset(final Long offset);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy