io.sphere.sdk.payments.queries.TransactionCollectionQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.payments.queries;
import io.sphere.sdk.payments.TransactionState;
import io.sphere.sdk.payments.TransactionType;
import io.sphere.sdk.queries.*;
final class TransactionCollectionQueryModelImpl extends QueryModelImpl implements TransactionCollectionQueryModel {
public TransactionCollectionQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public MoneyQueryModel amount() {
return moneyModel("amount");
}
@Override
public StringQuerySortingModel interactionId() {
return stringModel("interactionId");
}
@Override
public TimestampSortingModel timestamp() {
return timestampSortingModel("timestamp");
}
@Override
public QueryPredicate isEmpty() {
return isEmptyCollectionQueryPredicate();
}
@Override
public QueryPredicate isNotEmpty() {
return isNotEmptyCollectionQueryPredicate();
}
@Override
public SphereEnumerationQueryModel type() {
return enumerationQueryModel("type");
}
@Override
public StringQuerySortingModel id() {
return stringModel("id");
}
@Override
public SphereEnumerationQueryModel state() {
return enumerationQueryModel("state");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy