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 Summary
FieldsModifier and TypeFieldDescriptionBilling amount of the request.A collection of custom field/value pairs.Merchant account ID used to process the transaction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBilling amount of the request.A collection of custom field/value pairs.Merchant account ID used to process the transaction.void
Billing amount of the request.void
setCustomFields
(List<CustomField> customFields) A collection of custom field/value pairs.void
setMerchantAccountId
(String merchantAccountId) Merchant account ID used to process the transaction.
-
Field Details
-
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
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
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
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
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
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
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
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
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.
-