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

org.apache.camel.component.braintree.WebhookNotificationGatewayEndpointConfiguration 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.WebhookNotificationGateway}.
 */
@ApiParams(apiName = "webhookNotification", 
           description = "To retrieve notifications via webhooks",
           apiMethods = {@ApiMethod(methodName = "parse", signatures={"com.braintreegateway.WebhookNotification parse(String signature, String payload)"}), @ApiMethod(methodName = "parseWithoutSignatureVerification", signatures={"com.braintreegateway.WebhookNotification parseWithoutSignatureVerification(String payload)"}), @ApiMethod(methodName = "verify", signatures={"String verify(String challenge)"})}, aliases = {})
@UriParams
@Configurer(extended = true)
public final class WebhookNotificationGatewayEndpointConfiguration extends BraintreeConfiguration {
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "verify")})
    private String challenge;
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "parse"), @ApiMethod(methodName = "parseWithoutSignatureVerification")})
    private String payload;
    @UriParam
    @ApiParam(optional = false, apiMethods = {@ApiMethod(methodName = "parse")})
    private String signature;

    public String getChallenge() {
        return challenge;
    }

    public void setChallenge(String challenge) {
        this.challenge = challenge;
    }

    public String getPayload() {
        return payload;
    }

    public void setPayload(String payload) {
        this.payload = payload;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy