Class BraintreeAuthorizeAndCaptureTransactionRequest.AuthorizeAndCaptureTransaction

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

public static class BraintreeAuthorizeAndCaptureTransactionRequest.AuthorizeAndCaptureTransaction extends Object implements Serializable
See Also:
  • Field Details

    • amount

      public String amount
      Billing amount of the request. This value must be greater than 0, and must match the currency format of the merchant account. This can only contain numbers and one decimal point (e.g. x.xx). Can't be greater than the maximum allowed by the processor.
    • merchantAccountId

      public String merchantAccountId
      Merchant account ID used to process the transaction. Currency is also determined by merchant account ID. If no merchant account ID is specified, we will use your default merchant account.
    • 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

    • AuthorizeAndCaptureTransaction

      public AuthorizeAndCaptureTransaction()
  • Method Details

    • setAmount

      public void setAmount(String amount)
      Billing amount of the request. This value must be greater than 0, and must match the currency format of the merchant account. This can only contain numbers and one decimal point (e.g. x.xx). Can't be greater than the maximum allowed by the processor.
    • setMerchantAccountId

      public void setMerchantAccountId(String merchantAccountId)
      Merchant account ID used to process the transaction. Currency is also determined by merchant account ID. If no merchant account ID is specified, we will use your default merchant account.
    • 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.
    • getAmount

      public String getAmount()
      Billing amount of the request. This value must be greater than 0, and must match the currency format of the merchant account. This can only contain numbers and one decimal point (e.g. x.xx). Can't be greater than the maximum allowed by the processor.
    • getMerchantAccountId

      public String getMerchantAccountId()
      Merchant account ID used to process the transaction. Currency is also determined by merchant account ID. If no merchant account ID is specified, we will use your default merchant account.
    • 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.