Class BraintreeAuthorizeAndCaptureTransactionRequest

java.lang.Object
com.broadleafcommerce.braintree.domain.BraintreeAuthorizeAndCaptureTransactionRequest
All Implemented Interfaces:
Serializable

public class BraintreeAuthorizeAndCaptureTransactionRequest extends Object implements Serializable
In order to charge a payment method with chargePaymentMethod, you'll need a payment method's ID, and information about the transaction you'd like to create using it. More details: Create Transactions
See Also:
  • Field Details

    • query

      public final String query
      GraphQL requests come in two forms: queries and mutations. Each request starts with the keyword query or mutation, then specifies the field or fields you want to get back in the response.
      See Also:
    • variables

      If you reference variables in your GraphQL document, the value for variables MUST be a JSON object containing the key/value pairs for each variable.
  • Constructor Details

    • BraintreeAuthorizeAndCaptureTransactionRequest

      public BraintreeAuthorizeAndCaptureTransactionRequest()
  • Method Details

    • getQuery

      public String getQuery()
      GraphQL requests come in two forms: queries and mutations. Each request starts with the keyword query or mutation, then specifies the field or fields you want to get back in the response.
    • getVariables

      If you reference variables in your GraphQL document, the value for variables MUST be a JSON object containing the key/value pairs for each variable.
    • setVariables

      public void setVariables(BraintreeAuthorizeAndCaptureTransactionRequest.Variables variables)
      If you reference variables in your GraphQL document, the value for variables MUST be a JSON object containing the key/value pairs for each variable.