io.sphere.sdk.payments.queries.PaymentStatusQueryModelImpl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.payments.queries;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.ReferenceOptionalQueryModel;
import io.sphere.sdk.queries.StringQuerySortingModel;
import io.sphere.sdk.states.State;
final class PaymentStatusQueryModelImpl extends QueryModelImpl implements PaymentStatusQueryModel {
public PaymentStatusQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
@Override
public StringQuerySortingModel interfaceCode() {
return stringModel("interfaceCode");
}
@Override
public StringQuerySortingModel interfaceText() {
return stringModel("interfaceText");
}
@Override
public ReferenceOptionalQueryModel state() {
return referenceOptionalModel("state");
}
}