All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.graphql.api.client.DeletePaymentProjectionRoot Maven / Gradle / Ivy

There is a newer version: 17.15.1
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy