io.sphere.sdk.payments.queries.PaymentQueryModelImpl Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasQueryModelImplementationAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasQueryModelImplementation.
in the source class io.sphere.sdk.payments.queries.PaymentQueryModel.
*/
package io.sphere.sdk.payments.queries;
import javax.annotation.Nullable;
import io.sphere.sdk.models.*;
import java.util.*;
import io.sphere.sdk.utils.*;
import com.fasterxml.jackson.annotation.*;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.payments.*;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
final class PaymentQueryModelImpl extends CustomResourceQueryModelImpl implements PaymentQueryModel {
PaymentQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public final io.sphere.sdk.queries.ReferenceOptionalQueryModel customer() {
return referenceOptionalQueryModel("customer");
}
public final io.sphere.sdk.queries.StringQuerySortingModel externalId() {
return stringQuerySortingModel("externalId");
}
public final io.sphere.sdk.queries.StringQuerySortingModel interfaceId() {
return stringQuerySortingModel("interfaceId");
}
public final io.sphere.sdk.queries.MoneyQueryModel amountPlanned() {
return moneyQueryModel("amountPlanned");
}
public final io.sphere.sdk.queries.MoneyQueryModel amountAuthorized() {
return moneyQueryModel("amountAuthorized");
}
public final io.sphere.sdk.queries.TimestampSortingModel authorizedUntil() {
return timestampSortingModel("authorizedUntil");
}
public final io.sphere.sdk.queries.MoneyQueryModel amountPaid() {
return moneyQueryModel("amountPaid");
}
public final io.sphere.sdk.queries.MoneyQueryModel amountRefunded() {
return moneyQueryModel("amountRefunded");
}
public final io.sphere.sdk.payments.queries.PaymentMethodInfoQueryModel paymentMethodInfo() {
final String fieldName = "paymentMethodInfo";
return new PaymentMethodInfoQueryModelImpl<>(this, fieldName);
}
public final io.sphere.sdk.payments.queries.PaymentStatusQueryModel paymentStatus() {
final String fieldName = "paymentStatus";
return new PaymentStatusQueryModelImpl<>(this, fieldName);
}
public final io.sphere.sdk.payments.queries.TransactionCollectionQueryModel transactions() {
final String fieldName = "transactions";
return new TransactionCollectionQueryModelImpl<>(this, fieldName);
}
public final io.sphere.sdk.queries.StringQuerySortingModel key() {
return stringQuerySortingModel("key");
}
public final io.sphere.sdk.queries.StringQuerySortingModel anonymousId() {
return stringQuerySortingModel("anonymousId");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy