Class BraintreeResource

java.lang.Object
org.apache.camel.quarkus.component.braintree.it.BraintreeResource

@Path("/braintree") public class BraintreeResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • BraintreeResource

      public BraintreeResource()
  • Method Details

    • generateToken

      @Path("/token") @GET @Produces("text/plain") public String generateToken() throws Exception
      Throws:
      Exception
    • sale

      @Path("/sale") @POST @Produces("application/json") public jakarta.ws.rs.core.Response sale() throws Exception
      Throws:
      Exception
    • refund

      @Path("/refund") @POST @Produces("application/json") public jakarta.ws.rs.core.Response refund(String transactionId) throws Exception
      Throws:
      Exception