Class BraintreeResponse.Data

java.lang.Object
com.broadleafcommerce.braintree.domain.BraintreeResponse.Data
All Implemented Interfaces:
Serializable
Enclosing class:
BraintreeResponse

public static class BraintreeResponse.Data extends Object implements Serializable
Object wrapper for each transaction type (payment method)
See Also:
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • setAuthorizePaymentMethod

      public void setAuthorizePaymentMethod(BraintreeResponse.AuthorizePaymentMethod authorizePaymentMethod)
      Authorize an eligible payment method and return a payload that includes details of the resulting transaction.
    • setCaptureTransaction

      public void setCaptureTransaction(BraintreeResponse.CaptureTransaction captureTransaction)
      Capture an authorized transaction and return a payload that includes details of the transaction.
    • setChargePaymentMethod

      public void setChargePaymentMethod(BraintreeResponse.ChargePaymentMethod chargePaymentMethod)
      Charge any payment method and return a payload that includes details of the resulting transaction.
    • setReverseTransaction

      public void setReverseTransaction(BraintreeResponse.ReverseTransaction reverseTransaction)
      Reverse a transaction and return a payload that includes either the voided transaction or a refund.
    • setRefundTransaction

      public void setRefundTransaction(BraintreeResponse.RefundTransaction refundTransaction)
      Refund a settled transaction and return a payload that includes details of the refund.
    • setSearch

      public void setSearch(BraintreeResponse.SearchTransaction search)
      The following is an example of using the search query to find transactions that fit certain criteria.
    • getAuthorizePaymentMethod

      public BraintreeResponse.AuthorizePaymentMethod getAuthorizePaymentMethod()
      Authorize an eligible payment method and return a payload that includes details of the resulting transaction.
    • getCaptureTransaction

      public BraintreeResponse.CaptureTransaction getCaptureTransaction()
      Capture an authorized transaction and return a payload that includes details of the transaction.
    • getChargePaymentMethod

      public BraintreeResponse.ChargePaymentMethod getChargePaymentMethod()
      Charge any payment method and return a payload that includes details of the resulting transaction.
    • getReverseTransaction

      public BraintreeResponse.ReverseTransaction getReverseTransaction()
      Reverse a transaction and return a payload that includes either the voided transaction or a refund.
    • getRefundTransaction

      public BraintreeResponse.RefundTransaction getRefundTransaction()
      Refund a settled transaction and return a payload that includes details of the refund.
    • getSearch

      The following is an example of using the search query to find transactions that fit certain criteria.