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

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

/*
 * Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
 * Generated on: Tue Mar 22 09:20:30 UTC 2016
 */
package org.apache.camel.component.braintree.internal;

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

import com.braintreegateway.TransactionGateway;

import org.apache.camel.util.component.ApiMethod;
import org.apache.camel.util.component.ApiMethodImpl;

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

    CANCELRELEASE(com.braintreegateway.Result.class, "cancelRelease", String.class, "id"),
    CLONETRANSACTION(com.braintreegateway.Result.class, "cloneTransaction", String.class, "id", com.braintreegateway.TransactionCloneRequest.class, "cloneRequest"),
    CREDIT(com.braintreegateway.Result.class, "credit", com.braintreegateway.TransactionRequest.class, "request"),
    FIND(com.braintreegateway.Transaction.class, "find", String.class, "id"),
    HOLDINESCROW(com.braintreegateway.Result.class, "holdInEscrow", String.class, "id"),
    REFUND(com.braintreegateway.Result.class, "refund", String.class, "id"),
    REFUND_1(com.braintreegateway.Result.class, "refund", String.class, "id", java.math.BigDecimal.class, "amount"),
    RELEASEFROMESCROW(com.braintreegateway.Result.class, "releaseFromEscrow", String.class, "id"),
    SALE(com.braintreegateway.Result.class, "sale", com.braintreegateway.TransactionRequest.class, "request"),
    SEARCH(com.braintreegateway.ResourceCollection.class, "search", com.braintreegateway.TransactionSearchRequest.class, "query"),
    SUBMITFORPARTIALSETTLEMENT(com.braintreegateway.Result.class, "submitForPartialSettlement", String.class, "id", java.math.BigDecimal.class, "amount"),
    SUBMITFORPARTIALSETTLEMENT_1(com.braintreegateway.Result.class, "submitForPartialSettlement", String.class, "id", com.braintreegateway.TransactionRequest.class, "request"),
    SUBMITFORSETTLEMENT(com.braintreegateway.Result.class, "submitForSettlement", String.class, "id"),
    SUBMITFORSETTLEMENT_1(com.braintreegateway.Result.class, "submitForSettlement", String.class, "id", java.math.BigDecimal.class, "amount"),
    SUBMITFORSETTLEMENT_2(com.braintreegateway.Result.class, "submitForSettlement", String.class, "id", com.braintreegateway.TransactionRequest.class, "request"),
    VOIDTRANSACTION(com.braintreegateway.Result.class, "voidTransaction", String.class, "id");

    private final ApiMethod apiMethod;

    private TransactionGatewayApiMethod(Class resultType, String name, Object... args) {
        this.apiMethod = new ApiMethodImpl(TransactionGateway.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