io.sphere.sdk.carts.queries.PaymentInfoQueryModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.carts.queries;
import io.sphere.sdk.payments.Payment;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.QueryPredicate;
import io.sphere.sdk.queries.ReferenceCollectionQueryModel;
final class PaymentInfoQueryModelImpl extends QueryModelImpl implements PaymentInfoQueryModel {
public PaymentInfoQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public QueryPredicate isNotPresent() {
return isNotPresent();
}
@Override
public QueryPredicate isPresent() {
return isPresent();
}
@Override
public ReferenceCollectionQueryModel payments() {
return referenceCollectionModel("payments");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy