Class BraintreeResponse.Data
java.lang.Object
com.broadleafcommerce.braintree.domain.BraintreeResponse.Data
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BraintreeResponse
Object wrapper for each transaction type (payment method)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAuthorize an eligible payment method and return a payload that includes details of the resulting transaction.Capture an authorized transaction and return a payload that includes details of the transaction.Charge any payment method and return a payload that includes details of the resulting transaction.Refund a settled transaction and return a payload that includes details of the refund.Reverse a transaction and return a payload that includes either the voided transaction or a refund.The following is an example of using the search query to find transactions that fit certain criteria.void
setAuthorizePaymentMethod
(BraintreeResponse.AuthorizePaymentMethod authorizePaymentMethod) Authorize an eligible payment method and return a payload that includes details of the resulting transaction.void
setCaptureTransaction
(BraintreeResponse.CaptureTransaction captureTransaction) Capture an authorized transaction and return a payload that includes details of the transaction.void
setChargePaymentMethod
(BraintreeResponse.ChargePaymentMethod chargePaymentMethod) Charge any payment method and return a payload that includes details of the resulting transaction.void
setRefundTransaction
(BraintreeResponse.RefundTransaction refundTransaction) Refund a settled transaction and return a payload that includes details of the refund.void
setReverseTransaction
(BraintreeResponse.ReverseTransaction reverseTransaction) Reverse a transaction and return a payload that includes either the voided transaction or a refund.void
The following is an example of using the search query to find transactions that fit certain criteria.
-
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
Capture an authorized transaction and return a payload that includes details of the transaction. -
setChargePaymentMethod
Charge any payment method and return a payload that includes details of the resulting transaction. -
setReverseTransaction
Reverse a transaction and return a payload that includes either the voided transaction or a refund. -
setRefundTransaction
Refund a settled transaction and return a payload that includes details of the refund. -
setSearch
The following is an example of using the search query to find transactions that fit certain criteria. -
getAuthorizePaymentMethod
Authorize an eligible payment method and return a payload that includes details of the resulting transaction. -
getCaptureTransaction
Capture an authorized transaction and return a payload that includes details of the transaction. -
getChargePaymentMethod
Charge any payment method and return a payload that includes details of the resulting transaction. -
getReverseTransaction
Reverse a transaction and return a payload that includes either the voided transaction or a refund. -
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.
-