com.commercetools.graphql.api.client.UpdatePaymentProjectionRoot 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 UpdatePaymentProjectionRoot, ROOT extends BaseSubProjectionNode, ?>> extends BaseSubProjectionNode {
public UpdatePaymentProjectionRoot() {
super(null, null, java.util.Optional.of("Payment"));
}
public UpdatePaymentProjectionRoot __typename() {
getFields().put("__typename", null);
return this;
}
public ReferenceProjection, UpdatePaymentProjectionRoot> customerRef(
) {
ReferenceProjection, UpdatePaymentProjectionRoot> projection = new ReferenceProjection<>(this, this);
getFields().put("customerRef", projection);
return projection;
}
public CustomerProjection, UpdatePaymentProjectionRoot> customer(
) {
CustomerProjection, UpdatePaymentProjectionRoot> projection = new CustomerProjection<>(this, this);
getFields().put("customer", projection);
return projection;
}
public MoneyProjection, UpdatePaymentProjectionRoot> amountPlanned(
) {
MoneyProjection, UpdatePaymentProjectionRoot> projection = new MoneyProjection<>(this, this);
getFields().put("amountPlanned", projection);
return projection;
}
public PaymentMethodInfoProjection, UpdatePaymentProjectionRoot> paymentMethodInfo(
) {
PaymentMethodInfoProjection, UpdatePaymentProjectionRoot> projection = new PaymentMethodInfoProjection<>(this, this);
getFields().put("paymentMethodInfo", projection);
return projection;
}
public PaymentStatusProjection, UpdatePaymentProjectionRoot> paymentStatus(
) {
PaymentStatusProjection, UpdatePaymentProjectionRoot> projection = new PaymentStatusProjection<>(this, this);
getFields().put("paymentStatus", projection);
return projection;
}
public TransactionProjection, UpdatePaymentProjectionRoot> transactions(
) {
TransactionProjection, UpdatePaymentProjectionRoot> projection = new TransactionProjection<>(this, this);
getFields().put("transactions", projection);
return projection;
}
public InterfaceInteractionsRawResultProjection, UpdatePaymentProjectionRoot> interfaceInteractionsRaw(
) {
InterfaceInteractionsRawResultProjection, UpdatePaymentProjectionRoot> projection = new InterfaceInteractionsRawResultProjection<>(this, this);
getFields().put("interfaceInteractionsRaw", projection);
return projection;
}
public InterfaceInteractionsRawResultProjection, UpdatePaymentProjectionRoot> interfaceInteractionsRaw(
Integer limit, Integer offset) {
InterfaceInteractionsRawResultProjection, UpdatePaymentProjectionRoot> 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, UpdatePaymentProjectionRoot> custom(
) {
CustomFieldsTypeProjection, UpdatePaymentProjectionRoot> projection = new CustomFieldsTypeProjection<>(this, this);
getFields().put("custom", projection);
return projection;
}
public InitiatorProjection, UpdatePaymentProjectionRoot> createdBy(
) {
InitiatorProjection, UpdatePaymentProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("createdBy", projection);
return projection;
}
public InitiatorProjection, UpdatePaymentProjectionRoot> lastModifiedBy(
) {
InitiatorProjection, UpdatePaymentProjectionRoot> projection = new InitiatorProjection<>(this, this);
getFields().put("lastModifiedBy", projection);
return projection;
}
public UpdatePaymentProjectionRoot key() {
getFields().put("key", null);
return this;
}
public UpdatePaymentProjectionRoot anonymousId() {
getFields().put("anonymousId", null);
return this;
}
public UpdatePaymentProjectionRoot interfaceId() {
getFields().put("interfaceId", null);
return this;
}
public UpdatePaymentProjectionRoot id() {
getFields().put("id", null);
return this;
}
public UpdatePaymentProjectionRoot version() {
getFields().put("version", null);
return this;
}
public UpdatePaymentProjectionRoot createdAt() {
getFields().put("createdAt", null);
return this;
}
public UpdatePaymentProjectionRoot lastModifiedAt() {
getFields().put("lastModifiedAt", null);
return this;
}
}