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

com.commercetools.graphql.api.client.UpdatePaymentProjectionRoot 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 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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy