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

org.apache.camel.component.braintree.OAuthGatewayEndpointConfiguration Maven / Gradle / Ivy

There is a newer version: 4.8.1
Show newest version
/*
 * Camel EndpointConfiguration generated by camel-api-component-maven-plugin
 */
package org.apache.camel.component.braintree;

import org.apache.camel.spi.ApiMethod;
import org.apache.camel.spi.ApiParam;
import org.apache.camel.spi.ApiParams;
import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam;
import org.apache.camel.spi.UriParams;

/**
 * Camel endpoint configuration for {@link com.braintreegateway.OAuthGateway}.
 */
@ApiParams(apiName = "oauth", 
           description = "",
           apiMethods = {@ApiMethod(methodName = "connectUrl", signatures={"String connectUrl(com.braintreegateway.OAuthConnectUrlRequest request)"}), @ApiMethod(methodName = "createTokenFromCode", signatures={"com.braintreegateway.Result createTokenFromCode(com.braintreegateway.OAuthCredentialsRequest request)"}), @ApiMethod(methodName = "createTokenFromRefreshToken", signatures={"com.braintreegateway.Result createTokenFromRefreshToken(com.braintreegateway.OAuthCredentialsRequest request)"}), @ApiMethod(methodName = "revokeAccessToken", signatures={"com.braintreegateway.Result revokeAccessToken(String accessToken)"})}, aliases = {})
@UriParams
@Configurer(extended = true)
public final class OAuthGatewayEndpointConfiguration extends BraintreeConfiguration {
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "revokeAccessToken")})
    private String accessToken;
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "connectUrl")})
    private com.braintreegateway.OAuthConnectUrlRequest connectRequest;
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "createTokenFromCode"), @ApiMethod(methodName = "createTokenFromRefreshToken")})
    private com.braintreegateway.OAuthCredentialsRequest request;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public com.braintreegateway.OAuthConnectUrlRequest getConnectRequest() {
        return connectRequest;
    }

    public void setConnectRequest(com.braintreegateway.OAuthConnectUrlRequest connectRequest) {
        this.connectRequest = connectRequest;
    }

    public com.braintreegateway.OAuthCredentialsRequest getRequest() {
        return request;
    }

    public void setRequest(com.braintreegateway.OAuthCredentialsRequest request) {
        this.request = request;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy