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

org.apache.camel.component.braintree.internal.DisputeGatewayApiMethod Maven / Gradle / Ivy

There is a newer version: 4.8.1
Show newest version

/*
 * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
 */
package org.apache.camel.component.braintree.internal;

import java.lang.reflect.Method;
import java.util.List;

import com.braintreegateway.DisputeGateway;

import org.apache.camel.support.component.ApiMethod;
import org.apache.camel.support.component.ApiMethodArg;
import org.apache.camel.support.component.ApiMethodImpl;

import static org.apache.camel.support.component.ApiMethodArg.arg;

/**
 * Camel {@link ApiMethod} Enumeration for com.braintreegateway.DisputeGateway
 */
public enum DisputeGatewayApiMethod implements ApiMethod {

    ACCEPT(
        com.braintreegateway.Result.class,
        "accept",
        arg("id", String.class)),
    ADDFILEEVIDENCE(
        com.braintreegateway.Result.class,
        "addFileEvidence",
        arg("disputeId", String.class),
        arg("documentId", String.class)),
    ADDFILEEVIDENCE_1(
        com.braintreegateway.Result.class,
        "addFileEvidence",
        arg("disputeId", String.class),
        arg("fileEvidenceRequest", com.braintreegateway.FileEvidenceRequest.class)),
    ADDTEXTEVIDENCE(
        com.braintreegateway.Result.class,
        "addTextEvidence",
        arg("id", String.class),
        arg("content", String.class)),
    ADDTEXTEVIDENCE_1(
        com.braintreegateway.Result.class,
        "addTextEvidence",
        arg("id", String.class),
        arg("textEvidenceRequest", com.braintreegateway.TextEvidenceRequest.class)),
    FINALIZE(
        com.braintreegateway.Result.class,
        "finalize",
        arg("id", String.class)),
    FIND(
        com.braintreegateway.Dispute.class,
        "find",
        arg("id", String.class)),
    REMOVEEVIDENCE(
        com.braintreegateway.Result.class,
        "removeEvidence",
        arg("disputeId", String.class),
        arg("evidenceId", String.class)),
    SEARCH(
        com.braintreegateway.PaginatedCollection.class,
        "search",
        arg("query", com.braintreegateway.DisputeSearchRequest.class));
    

    private final ApiMethod apiMethod;

    private DisputeGatewayApiMethod(Class resultType, String name, ApiMethodArg... args) {
        this.apiMethod = new ApiMethodImpl(DisputeGateway.class, resultType, name, args);
    }

    @Override
    public String getName() { return apiMethod.getName(); }

    @Override
    public Class getResultType() { return apiMethod.getResultType(); }

    @Override
    public List getArgNames() { return apiMethod.getArgNames(); }

    @Override
    public List> getArgTypes() { return apiMethod.getArgTypes(); }

    @Override
    public Method getMethod() { return apiMethod.getMethod(); }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy