Class BraintreeResponse.Transaction
java.lang.Object
com.broadleafcommerce.braintree.domain.BraintreeResponse.Transaction
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BraintreeResponse
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionA collection of custom field/value pairs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe amount charged in this transaction.Date and time when the transaction was created.A collection of custom field/value pairs.getId()
Unique identifier.The order ID for this transaction.The current status of this transactionThe records of all statuses this transaction has passed through, with additional information on why each status occurred.void
setAmount
(BraintreeResponse.Amount amount) The amount charged in this transaction.void
setCreatedAt
(Instant createdAt) Date and time when the transaction was created.void
setCustomFields
(List<CustomField> customFields) A collection of custom field/value pairs.void
Unique identifier.void
setOrderId
(String orderId) The order ID for this transaction.void
The current status of this transactionvoid
setStatusHistory
(List<BraintreeResponse.StatusHistory> statusHistory) The records of all statuses this transaction has passed through, with additional information on why each status occurred.
-
Field Details
-
customFields
A collection of custom field/value pairs. Fields and values must be formatted as strings or integers. Maximum 255 characters. You must set up each custom field in the Control Panel prior to passing it with a request. Querying this value returns a collection of custom field values stored on the transaction object.
-
-
Constructor Details
-
Transaction
public Transaction()
-
-
Method Details
-
setId
Unique identifier. -
setStatus
The current status of this transaction -
setCreatedAt
Date and time when the transaction was created. -
setAmount
The amount charged in this transaction. For transactions that are partially captured, this amount will be the cummulative amount captured on this transaction. For transactions that are partially authorized, the amount will be less than the initialRequestedAuthorizationAmount. -
setOrderId
The order ID for this transaction. For PayPal transactions, the PayPal Invoice ID. -
setStatusHistory
The records of all statuses this transaction has passed through, with additional information on why each status occurred. Returned in reverse chronological order, with the most recent event first in the list. -
setCustomFields
A collection of custom field/value pairs. Fields and values must be formatted as strings or integers. Maximum 255 characters. You must set up each custom field in the Control Panel prior to passing it with a request. Querying this value returns a collection of custom field values stored on the transaction object. -
getId
Unique identifier. -
getStatus
The current status of this transaction -
getCreatedAt
Date and time when the transaction was created. -
getAmount
The amount charged in this transaction. For transactions that are partially captured, this amount will be the cummulative amount captured on this transaction. For transactions that are partially authorized, the amount will be less than the initialRequestedAuthorizationAmount. -
getOrderId
The order ID for this transaction. For PayPal transactions, the PayPal Invoice ID. -
getStatusHistory
The records of all statuses this transaction has passed through, with additional information on why each status occurred. Returned in reverse chronological order, with the most recent event first in the list. -
getCustomFields
A collection of custom field/value pairs. Fields and values must be formatted as strings or integers. Maximum 255 characters. You must set up each custom field in the Control Panel prior to passing it with a request. Querying this value returns a collection of custom field values stored on the transaction object.
-