com.commercetools.graphql.api.client.DeletePaymentProjectionRoot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commercetools-graphql-api Show documentation
Show all versions of commercetools-graphql-api Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
package com.commercetools.graphql.api.client;
import com.netflix.graphql.dgs.client.codegen.BaseSubProjectionNode;
import java.lang.Integer;
import java.util.ArrayList;
public class DeletePaymentProjectionRoot, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public DeletePaymentProjectionRoot() {
super(null, null, java.util.Optional.of("Payment"));
}
public DeletePaymentProjectionRoot __typename() {
getFields().put("__typename", null);
return this;
}
public ReferenceProjection, DeletePaymentProjectionRoot> customerRef(
) {
ReferenceProjection, DeletePaymentProjectionRoot> projection = new ReferenceProjection<>(this, this);
getFields().put("customerRef", projection);
return projection;
}
public CustomerProjection, DeletePaymentProjectionRoot> customer(
) {
CustomerProjection, DeletePaymentProjectionRoot> projection = new CustomerProjection<>(this, this);
getFields().put("customer", projection);
return projection;
}
public MoneyProjection, DeletePaymentProjectionRoot> amountPlanned(
) {
MoneyProjection, DeletePaymentProjectionRoot> projection = new MoneyProjection<>(this, this);
getFields().put("amountPlanned", projection);
return projection;
}
public PaymentMethodInfoProjection, DeletePaymentProjectionRoot> paymentMethodInfo(
) {
PaymentMethodInfoProjection, DeletePaymentProjectionRoot> projection = new PaymentMethodInfoProjection<>(this, this);
getFields().put("paymentMethodInfo", projection);
return projection;
}
public PaymentStatusProjection, DeletePaymentProjectionRoot> paymentStatus(
) {
PaymentStatusProjection, DeletePaymentProjectionRoot> projection = new PaymentStatusProjection<>(this, this);
getFields().put("paymentStatus", projection);
return projection;
}
public TransactionProjection, DeletePaymentProjectionRoot> transactions(
) {
TransactionProjection, DeletePaymentProjectionRoot> projection = new TransactionProjection<>(this, this);
getFields().put("transactions", projection);
return projection;
}
public InterfaceInteractionsRawResultProjection, DeletePaymentProjectionRoot> interfaceInteractionsRaw(
) {
InterfaceInteractionsRawResultProjection, DeletePaymentProjectionRoot> projection = new InterfaceInteractionsRawResultProjection<>(this, this);
getFields().put("interfaceInteractionsRaw", projection);
return projection;
}
public InterfaceInteractionsRawResultProjection, DeletePaymentProjectionRoot> interfaceInteractionsRaw(
Integer limit, Integer offset) {
InterfaceInteractionsRawResultProjection, DeletePaymentProjectionRoot> projection = new InterfaceInteractionsRawResultProjection<>(this, this);
getFields().put("interfaceInteractionsRaw", projection);
getInputArguments().computeIfAbsent("interfaceInteractionsRaw", k -> new ArrayList<>());
InputArgument limitArg = new InputArgument("limit", limit);
getInputArguments().get("interfaceInteractionsRaw").add(limitArg);
InputArgument offsetArg = new InputArgument("offset", offset);
getInputArguments().get("interfaceInteractionsRaw").add(offsetArg);
return projection;
}
public CustomFieldsTypeProjection, DeletePaymentProjectionRoot> custom(
) {
CustomFieldsTypeProjection, DeletePaymentProjectionRoot> projection = new CustomFieldsTypeProjection<>(this, this);
getFields().put("custom", projection);
return projection;
}
public InitiatorProjection, DeletePaymentProjectionRoot> createdBy(
) {
InitiatorProjection, DeletePaymentProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("createdBy", projection);
return projection;
}
public InitiatorProjection, DeletePaymentProjectionRoot> lastModifiedBy(
) {
InitiatorProjection, DeletePaymentProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("lastModifiedBy", projection);
return projection;
}
public DeletePaymentProjectionRoot key() {
getFields().put("key", null);
return this;
}
public DeletePaymentProjectionRoot anonymousId() {
getFields().put("anonymousId", null);
return this;
}
public DeletePaymentProjectionRoot interfaceId() {
getFields().put("interfaceId", null);
return this;
}
public DeletePaymentProjectionRoot id() {
getFields().put("id", null);
return this;
}
public DeletePaymentProjectionRoot version() {
getFields().put("version", null);
return this;
}
public DeletePaymentProjectionRoot createdAt() {
getFields().put("createdAt", null);
return this;
}
public DeletePaymentProjectionRoot lastModifiedAt() {
getFields().put("lastModifiedAt", null);
return this;
}
}