All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.payments.queries.TransactionCollectionQueryModelImpl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.payments.queries;

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 isEmpty();
    }

    @Override
    public QueryPredicate isNotEmpty() {
        return isNotEmpty();
    }

    @Override
    public SphereEnumerationQueryModel type() {
        return enumerationQueryModel("type");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy