Class BraintreeResponse.Transaction

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

public static class BraintreeResponse.Transaction extends Object implements Serializable
See Also:
  • Field Details

    • customFields

      public List<CustomField> 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

      public void setId(String id)
      Unique identifier.
    • setStatus

      public void setStatus(String status)
      The current status of this transaction
    • setCreatedAt

      public void setCreatedAt(Instant createdAt)
      Date and time when the transaction was created.
    • setAmount

      public void setAmount(BraintreeResponse.Amount amount)
      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

      public void setOrderId(String orderId)
      The order ID for this transaction. For PayPal transactions, the PayPal Invoice ID.
    • setStatusHistory

      public void setStatusHistory(List<BraintreeResponse.StatusHistory> statusHistory)
      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

      public void setCustomFields(List<CustomField> 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.
    • getId

      public String getId()
      Unique identifier.
    • getStatus

      public String getStatus()
      The current status of this transaction
    • getCreatedAt

      public Instant getCreatedAt()
      Date and time when the transaction was created.
    • getAmount

      public BraintreeResponse.Amount 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

      public String getOrderId()
      The order ID for this transaction. For PayPal transactions, the PayPal Invoice ID.
    • getStatusHistory

      public List<BraintreeResponse.StatusHistory> 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

      public List<CustomField> 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.