Serialized Form
-
Package com.broadleafcommerce.orderoperation.domain
-
Class com.broadleafcommerce.orderoperation.domain.CampaignCode
class CampaignCode extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
activeEndDate
Instant activeEndDate
Defines the ending time for which this campaign code is active. Overrides the value set in theCampaign#activeEndDate
. -
activeStartDate
Instant activeStartDate
Defines the beginning time for which this campaign code is active. Overrides the value set in theCampaign#activeStartDate
. -
assigned
boolean assigned
Defines whether this code has been assigned for use. -
campaignId
String campaignId
Defines the id for the campaign that originated this campaign code. -
code
String code
The string code that represents this record. -
emailRegEx
String emailRegEx
Defines a regex to be used for validating this campaign code for customer updateUses. -
externalId
String externalId
This is an arbitrary ID, typically assigned by or used by 1st or 3rd party systems that are not Broadleaf. -
generatorId
String generatorId
Defines the id for the code generator that originated this campaign code. -
id
String id
-
maxUses
int maxUses
Defines the number of max uses allowed for this campaign code. -
offerId
String offerId
Defines the id for the offer that originated the offer code. -
segment
String segment
The segment to which this campaign code can apply. A value of empty or "ANY" is the most common usage and means that this campaign code can apply to any qualifying part of the order. Typical uses of segments include using them to restrict an campaign code to a specific vendor or store (aka banner).
-
-
Class com.broadleafcommerce.orderoperation.domain.CaptureFulfillmentResult
class CaptureFulfillmentResult extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
captureExecutionResponses
List<TransactionExecutionResponse> captureExecutionResponses
A list ofTransactionExecutionResponses
for the capture transactions. -
fulfillmentCaptureClaims
List<com.broadleafcommerce.order.client.domain.FulfillmentCaptureClaim> fulfillmentCaptureClaims
A list ofFulfillmentCaptureClaims
that was made for theOrderFulfillment
.This list would be empty if all the payments have the checkout transaction type of
DefaultTransactionTypes.AUTHORIZE
.
-
-
Class com.broadleafcommerce.orderoperation.domain.CodeGenerationResult
class CodeGenerationResult extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
errorMessage
String errorMessage
Error message from attempting to generateCampaignCodes
. -
generatedCodes
List<CampaignCode> generatedCodes
GeneratedCampaignCodes
. -
successful
boolean successful
Indicates whether the attempt to generateCampaignCodes
was successful.
-
-
Class com.broadleafcommerce.orderoperation.domain.CodeGenerator
class CodeGenerator extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
activeEndDate
Instant activeEndDate
Sets the Active End Date for codes generated by this generator. -
activeStartDate
Instant activeStartDate
Sets the Active Start Date for codes generated by this generator. -
campaignId
String campaignId
Defines the id for the campaign that originated this code generator. -
codeFormat
String codeFormat
The custom formatter for generating codes. Customer formatters allow for precise control of the code format. For example, consider "CF-##-@@-**-1" which might generate the following code "CF-99-AB-Z3-1". Each symbol is processed by the CodeGenerator. The default implementation is as follows: # is replaced by a random number (not including 0, 1, or 5) @ is replaced by a random character (not including 0, L, or S) * is replaced by random alphanumeric character (not including those mentioned above).- See Also:
-
com.broadleafcommerce.promotion.campaign.service.DefaultCampaignCodeService
-
codeLength
Integer codeLength
The code length the generator should use when generating the codes. -
codePrefix
String codePrefix
Defines a prefix to updateUses when generating campaign codes for this campaign. This will default toCampaign#codePrefix
, if not set. This is intended to be used as an override, if required. -
emailRegEx
String emailRegEx
Provides a customer email validation when the generated codes are requested for use. -
id
String id
-
maxUses
int maxUses
The maximum number of uses to set for each code generated. -
numberOfCodesToGenerate
int numberOfCodesToGenerate
The number of codes that will be generated
-
-
Class com.broadleafcommerce.orderoperation.domain.FulfillmentStatusChangeRequest
class FulfillmentStatusChangeRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
fulfillmentId
String fulfillmentId
The ID of the fulfillment to have its status changed. -
itemQuantities
Map<String,
Integer> itemQuantities The quantities of each fulfillment item which should change status.If empty or null, then the entire fulfillment will change status. Otherwise, if only a subset of the items and quantities are included, then the unchanged item quantities will be split into a new fulfillment with the previous status.
-
status
String status
The status to change the fulfillment to.
-
-
Class com.broadleafcommerce.orderoperation.domain.OrderWithFulfillmentsAndReturns
class OrderWithFulfillmentsAndReturns extends Object implements Serializable- serialVersionUID:
- 1L
-
Class com.broadleafcommerce.orderoperation.domain.UserTarget
class UserTarget extends Object implements Serializable- serialVersionUID:
- 1L
-
Class com.broadleafcommerce.orderoperation.domain.VoucherCodeGenerationRequest
class VoucherCodeGenerationRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
codeGenerator
CodeGenerator codeGenerator
TheCodeGenerator
to use to generate voucher codes. -
voucherCampaignId
String voucherCampaignId
The campaign id to generate the voucher codes from.
-
-
-
Package com.broadleafcommerce.orderoperation.domain.enums
-
Package com.broadleafcommerce.orderoperation.domain.payment
-
Class com.broadleafcommerce.orderoperation.domain.payment.ExecutablePayment
class ExecutablePayment extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
additionalAttributes
Map<String,
Object> additionalAttributes Contains the additional information about this payment. -
executableAmount
javax.money.MonetaryAmount executableAmount
The amount for which this payment is executable -
payment
PaymentSummary payment
The id of this payment. -
transactionType
String transactionType
The executable transaction type of this payment.
-
-
Class com.broadleafcommerce.orderoperation.domain.payment.PaymentDistributionDto
class PaymentDistributionDto extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
additionalAttributes
Map<String,
Object> additionalAttributes Contains the additional information about this payment. -
executablePayments
List<ExecutablePayment> executablePayments
A list ofExecutablePayments
to distribute thePaymentDistributionDto.totalAmountToDistribute
across. -
paymentDistributionDetails
List<com.broadleafcommerce.order.client.domain.payment.PaymentDistributionDetail> paymentDistributionDetails
A list ofPaymentDistributionDetails
specifying the details of the distribution ratios. -
totalAmountToDistribute
javax.money.MonetaryAmount totalAmountToDistribute
The totalMonetaryAmount
to distribute proportionally across different payments.
-
-
Class com.broadleafcommerce.orderoperation.domain.payment.PaymentDistributionResult
class PaymentDistributionResult extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
additionalAttributes
Map<String,
Object> additionalAttributes Contains the additional information about this payment. -
distributedPaymentAndAmounts
List<org.apache.commons.lang3.tuple.Pair<ExecutablePayment,
javax.money.MonetaryAmount>> distributedPaymentAndAmounts A list ofPairs
ofExecutablePayment
and theMonetaryAmount
that it's distributed.For example, an order of $100 distributed to two payments, payment1 with 40% ratio and payment2 with 60% ratio, the pairs would be
{payment1: $40} and {payment2: $60}
-
-
Class com.broadleafcommerce.orderoperation.domain.payment.PaymentExecutionRequest
class PaymentExecutionRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
additionalAttributes
Map<String,
Object> additionalAttributes Contains the additional information about this payment. -
amount
javax.money.MonetaryAmount amount
The amount for which this payment is executable -
payment
PaymentSummary payment
The id of this payment. -
transactionType
String transactionType
The type of this payment like Credit Card or Gift Card.
-
-
Class com.broadleafcommerce.orderoperation.domain.payment.PaymentSummary
class PaymentSummary extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
addressByType
Map<String,
com.broadleafcommerce.order.common.domain.Address> addressByType The collection of related addresses that may include billing or shipping addresses -
adjustmentsTotal
javax.money.MonetaryAmount adjustmentsTotal
The payment's adjustments (a.k.a discounts) total, usually excluding shipping/fulfillment discounts. -
amount
javax.money.MonetaryAmount amount
The amount for which this payment is allotted. The summation of all of thepayments
for a particular cart should equal the cart's total. If specified, the amount details (PaymentSummary.subtotal
,PaymentSummary.adjustmentsTotal
,PaymentSummary.fulfillmentTotal
, &PaymentSummary.taxTotal
) should sum together to equal this amount. -
amountAuthorized
javax.money.MonetaryAmount amountAuthorized
The total authorized amount for capture. This value is calculated as "total authorized - total reverse-authed". -
amountAvailableForAuthorize
javax.money.MonetaryAmount amountAvailableForAuthorize
Determines the amount that can be authorized for this payment summary -
amountAvailableForAuthorizeAndCapture
javax.money.MonetaryAmount amountAvailableForAuthorizeAndCapture
Determines the amount that can be authorized and captured for this payment summary -
amountAvailableForCapture
javax.money.MonetaryAmount amountAvailableForCapture
Determines the amount that can be captured for this payment summary -
amountAvailableForRefund
javax.money.MonetaryAmount amountAvailableForRefund
Determines the amount that can be refunded for this payment summary -
amountAvailableForReverseAuthorization
javax.money.MonetaryAmount amountAvailableForReverseAuthorization
Determines the amount that can be reverse-authorized for this payment summary -
amountCaptured
javax.money.MonetaryAmount amountCaptured
The total captured amount. This value is calculated as "total captured - total refunded - total voided". -
amountCredited
javax.money.MonetaryAmount amountCredited
The total detached credit amount. -
amountRefunded
javax.money.MonetaryAmount amountRefunded
The total refunded amount. -
attributes
Map<String,
String> attributes General use map to capture any additional attributes needed for this Payment -
captureAmountAwaitingResult
javax.money.MonetaryAmount captureAmountAwaitingResult
The total amount sent to the payment gateway for capture, and is waiting for a response about the transaction result.This value should only be present for payment gateways that support asynchronous transaction executions.
-
displayAttributes
Map<String,
String> displayAttributes General use map to capture any display properties for this Payment -
fulfillmentTotal
javax.money.MonetaryAmount fulfillmentTotal
The payment's total fulfillment cost -
fullyAuthorized
boolean fullyAuthorized
Determines if the payment summary is fully authorized -
fullyCaptured
boolean fullyCaptured
Determines if the payment summary is fully captured -
gatewayType
String gatewayType
The gateway used to process this payment. Only a SINGLE payment gateway can modify transactions on a particular payment. -
hasTransactionFlaggedForManualReview
boolean hasTransactionFlaggedForManualReview
Indicates that the payment transaction has been flagged for manual review by fraud checks. -
isSingleUsePaymentMethod
boolean isSingleUsePaymentMethod
Whether or not the underlying payment method can only be used once. In most cases, we're managing a single-use token that represents a credit card. This flag is especially important for managing payments with successful transactions. In those cases, the token has already been used and cannot be reused. If we need modify the payment's amount, then we may actually need to archive the existing payment, and create a new payment, with a new underlying token. Additionally, this flag is helpful when needing to re-authorize an expired authorization transaction. In that case, if the payment represents a single-use payment method, then the re-authorization may not be possible, and you'll need to seek an alternative form of payment. -
name
String name
The name of this payment. This name is typically something like "Visa ending in 1234". -
partiallyCaptured
boolean partiallyCaptured
Determines if the payment summary is partially captured -
partialReverseAuthSupported
boolean partialReverseAuthSupported
Whether a portion of an authorization transaction can be reversed, or if the full authorization transaction must be reversed. -
paymentId
String paymentId
The id of this payment. -
refundAmountAwaitingResult
javax.money.MonetaryAmount refundAmountAwaitingResult
The total amount sent to the payment gateway for refund, and is waiting for a response about the transaction result.This value should only be present for payment gateways that support asynchronous transaction executions.
-
reverseAuthorizeAmountAwaitingResult
javax.money.MonetaryAmount reverseAuthorizeAmountAwaitingResult
The total amount sent to the payment gateway for reverse authorize, and is waiting for a response about the transaction result.This value should only be present for payment gateways that support asynchronous transaction executions.
-
subtotal
javax.money.MonetaryAmount subtotal
The payment's total usually excluding adjustments, tax, and shipping. -
taxTotal
javax.money.MonetaryAmount taxTotal
The payment's total tax cost -
type
String type
The type of this payment like Credit Card or Gift Card. -
version
Integer version
The version of this payment. Used for checking that the requested version of the payment is up-to-date before saving changes. Required for any request which results in an update being made to the payment. This should never be manually incremented/decremented.
-
-
-
Package com.broadleafcommerce.orderoperation.exception
-
Exception com.broadleafcommerce.orderoperation.exception.PaymentLockException
class PaymentLockException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Exception com.broadleafcommerce.orderoperation.exception.ProviderApiException
class ProviderApiException extends RuntimeException implements Serializable-
Serialized Fields
-
receivedException
org.springframework.web.reactive.function.client.WebClientResponseException receivedException
The received error.
-
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.capture
-
Class com.broadleafcommerce.orderoperation.service.messaging.capture.PaymentCaptureAttemptResult
class PaymentCaptureAttemptResult extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
fulfillment
com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment
The fulfillment for which payment was capture attempted -
order
com.broadleafcommerce.order.client.domain.Order order
The order object that had payment capture attempted -
result
String result
The outcome of the attempt to capture payment.- See Also:
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.checkout
-
Class com.broadleafcommerce.orderoperation.service.messaging.checkout.CheckoutCompletionEvent
class CheckoutCompletionEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
cart
com.broadleafcommerce.cart.client.domain.CheckoutCart cart
The cart object that completed the checkout workflow -
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
requestId
String requestId
The id representing this request to checkout This value can be used to identify entities that were produced due to this request and therefore need to be rolled back
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.fulfillments
-
Class com.broadleafcommerce.orderoperation.service.messaging.fulfillments.FulfillmentStatusChangeEvent
class FulfillmentStatusChangeEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
fulfillment
com.broadleafcommerce.order.client.domain.OrderFulfillment fulfillment
The fulfillment which changed status.This could be an entire fulfillment which was changed, or the changed part of a newly split fulfillment.
-
order
com.broadleafcommerce.order.client.domain.Order order
The order which the fulfillment came from. -
originalStatus
String originalStatus
The original status of the fulfillment before the change. -
request
FulfillmentStatusChangeRequest request
The original request leading to the status change.
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.ordercreated
-
Class com.broadleafcommerce.orderoperation.service.messaging.ordercreated.OrderCreatedEvent
class OrderCreatedEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
fulfillments
List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments
The fulfillments created for the order -
order
com.broadleafcommerce.order.client.domain.Order order
The order object that was created
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.returns
-
Class com.broadleafcommerce.orderoperation.service.messaging.returns.ReturnCancelledEvent
class ReturnCancelledEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
alreadyConfirmedReturnAuthorization
com.broadleafcommerce.order.client.domain.ReturnAuthorization alreadyConfirmedReturnAuthorization
The component of the return which was already confirmed, so could not be cancelled, if any confirmations are present. -
cancelledReturnAuthorization
com.broadleafcommerce.order.client.domain.ReturnAuthorization cancelledReturnAuthorization
The return which was cancelled. -
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
fulfillments
List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments
The fulfillments associated with the order being returned from. -
order
com.broadleafcommerce.order.client.domain.Order order
The order being returned from. -
request
CancelReturnRequest request
The original request leading to the return cancellation.
-
-
Class com.broadleafcommerce.orderoperation.service.messaging.returns.ReturnConfirmedEvent
class ReturnConfirmedEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
fulfillments
List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments
The fulfillments associated with the order being returned from. -
order
com.broadleafcommerce.order.client.domain.Order order
The order being returned from. -
request
ConfirmReturnRequest request
The original request leading to the return creation. -
returnAuthorization
com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuthorization
The return which was updated with newReturnConfirmations
.
-
-
Class com.broadleafcommerce.orderoperation.service.messaging.returns.ReturnCreatedEvent
class ReturnCreatedEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
fulfillments
List<com.broadleafcommerce.order.client.domain.OrderFulfillment> fulfillments
The fulfillments associated with the order being returned from. -
order
com.broadleafcommerce.order.client.domain.Order order
The order being returned from. -
request
ReturnRequest request
The original request leading to the return creation. -
returnAuthorization
com.broadleafcommerce.order.client.domain.ReturnAuthorization returnAuthorization
The return which was created.
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.transactionwebhook
-
Class com.broadleafcommerce.orderoperation.service.messaging.transactionwebhook.TransactionWebhookEvent
class TransactionWebhookEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
amount
javax.money.MonetaryAmount amount
The amount of the PaymentTransaction -
failureType
String failureType
The failure type of the PaymentTransaction -
gatewayResponseCode
String gatewayResponseCode
The gateway response code of the PaymentTransaction -
id
String id
The id of the PaymentTransaction -
parentSourceEntityId
String parentSourceEntityId
The parent source entity id of the PaymentTransaction -
parentSourceEntityType
String parentSourceEntityType
The parent source entity type of the PaymentTransaction -
parentTransactionId
String parentTransactionId
The parent transaction id of the PaymentTransaction -
paymentId
String paymentId
The id of this payment. -
requestId
String requestId
The request id of the PaymentTransaction -
source
String source
The source of the PaymentTransaction -
sourceEntityId
String sourceEntityId
The source entity id of the PaymentTransaction -
sourceEntityType
String sourceEntityType
The source entity type of the PaymentTransaction -
status
String status
The status of the PaymentTransaction -
tenantId
String tenantId
The tenant id that the payment transaction belongs to. -
token
String token
A Base64 encoded JWT token that can be verified for authenticity and that contains claims about the messages originating user that can be validated for suitability of consumption in the current context. -
transactionReferenceId
String transactionReferenceId
The transaction reference id of the PaymentTransaction -
type
String type
The type of the PaymentTransaction
-
-
-
Package com.broadleafcommerce.orderoperation.service.messaging.voucher
-
Class com.broadleafcommerce.orderoperation.service.messaging.voucher.VoucherGenerationCompletionEvent
class VoucherGenerationCompletionEvent extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
contextInfo
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info. -
order
com.broadleafcommerce.order.client.domain.Order order
TheOrder
that the vouchers were created for.
-
-
-
Package com.broadleafcommerce.orderoperation.service.payment.exception
-
Exception com.broadleafcommerce.orderoperation.service.payment.exception.PaymentAuthReverseException
class PaymentAuthReverseException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
order
com.broadleafcommerce.order.client.domain.Order order
The order for which a reverse authorization was being processed.
-
-
Exception com.broadleafcommerce.orderoperation.service.payment.exception.PaymentCaptureException
class PaymentCaptureException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
order
com.broadleafcommerce.order.client.domain.Order order
The order whose payment is being processed.
-
-
Exception com.broadleafcommerce.orderoperation.service.payment.exception.PaymentDistributionException
class PaymentDistributionException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Exception com.broadleafcommerce.orderoperation.service.payment.exception.PaymentRefundException
class PaymentRefundException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
order
com.broadleafcommerce.order.client.domain.Order order
The order for which a refund was being processed.
-
-
Exception com.broadleafcommerce.orderoperation.service.payment.exception.PaymentTransactionFailureException
class PaymentTransactionFailureException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
executionResponse
TransactionExecutionResponse executionResponse
TheTransactionExecutionResponse
from the attempted payment transaction execution.
-
-
-
Package com.broadleafcommerce.orderoperation.service.provider.external.domain.payment
-
Class com.broadleafcommerce.orderoperation.service.provider.external.domain.payment.LockPaymentRequest
class LockPaymentRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
ownerId
String ownerId
The id of the entity that owns this payment. For example, this may be a cart id, or a subscription billing cycle id. -
ownerType
String ownerType
Describes the owner of the payment. For example, the payment could have originated with a cart or a subscription, therefore this value might be CART or SUBSCRIPTION. -
paymentIds
List<String> paymentIds
The list of ids of the payments to lock.If this is not provided, then
LockPaymentRequest.ownerType
andLockPaymentRequest.ownerId
are used to lock the payments.
-
-
Class com.broadleafcommerce.orderoperation.service.provider.external.domain.payment.TransactionExecutionDetail
class TransactionExecutionDetail extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
adjustmentsTotal
javax.money.MonetaryAmount adjustmentsTotal
The payment's adjustments (a.k.a discounts) total, usually excluding shipping/fulfillment discounts. -
attributes
Map<String,
String> attributes Map of specific attributes that have been gathered from the raw response. This should be used for data points that are to be used programmatically. For example, a gateway-specific transaction id that can be used to capture or refund the transaction. -
dateRecorded
Instant dateRecorded
The timestamp when this transaction response was recorded -
declineType
String declineType
The type of transaction failure (hard vs soft failure) -
failureType
String failureType
The type of transaction failure -
flaggedForManualReview
boolean flaggedForManualReview
Indicates that the payment transaction has been flagged for manual review via fraud checks. -
fulfillmentTotal
javax.money.MonetaryAmount fulfillmentTotal
The payment's total fulfillment cost -
gatewayResponseCode
String gatewayResponseCode
The response code provided by the payment gateway which may represent a success or failure -
indeterminateResult
boolean indeterminateResult
Tells if this transaction has an indeterminate result.Having an indeterminate result means that the true outcome of the transaction is not known. For example, if a transaction is sent to the payment processor but a network error occurred, it is not known to us whether the user was actually charged or not (thus, the result is indeterminate).
Transactions should be marked as indeterminate when sending to the payment processor, and then unmarked once a response is received, understood, and recorded. This means that a transaction in an indeterminate result state is expected during the sending to processor phase. However, if the transaction remains in that state for an excessive amount of time, something likely went wrong and the transaction will need to be reconciled. If the transaction changes from the sending to processor status but remains indeterminate, the transaction will also require reconciliation in that scenario.
Some situations which may lead to an indeterminate result:
- A transaction is sent to the processor, but a network error prevents us from receiving the response
- A transaction is sent to the processor, but the processor returns an unexpected error (e.g. 500 internal server error)
- A transaction is sent to the processor and a response is received, but cannot be recorded because Cart Services is down
- A transaction is sent to the processor and a response is received, but cannot be recorded because the database is down
-
message
String message
Message describing the result of the transaction -
parentTransactionId
String parentTransactionId
The id of the parent payment transaction. Necessary for operations on a payment that require something to have happened beforehand. For instance, an authorize transaction would not have a parent but a capture must have an authorize parent transaction and a refund must have a capture parent transaction. The full set of expected parent-child transaction relationships are as follows:- Child Transaction -> Parent Transaction
- Reverse Authorize -> Authorize
- Capture -> Authorize
- Refund -> Capture
- Refund -> AuthorizeAndCapture
-
subtotal
javax.money.MonetaryAmount subtotal
The payment's total usually excluding adjustments, tax, and shipping. -
taxTotal
javax.money.MonetaryAmount taxTotal
The payment's total tax cost -
threeDSecureVerificationUrl
String threeDSecureVerificationUrl
The gateway-provided url where the customer must verify that they are in fact the owner of the payment method. The customer is typically redirected to this location, but the page can also be rendered within an iframe if this is supported by the gateway. -
transactionAmount
javax.money.MonetaryAmount transactionAmount
The transaction amount that was executed against thePaymentSummary
. -
transactionId
String transactionId
The id of the executed transaction. -
transactionReferenceId
String transactionReferenceId
The transaction id known by the payment gateway. This reference can be used to link the request to the gateway's record of the transaction in the case that the calling application does not receive a response from the gateway. -
transactionStatus
String transactionStatus
The status of the transaction.- See Also:
-
-
Class com.broadleafcommerce.orderoperation.service.provider.external.domain.payment.TransactionExecutionRequest
class TransactionExecutionRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
adjustmentsTotal
javax.money.MonetaryAmount adjustmentsTotal
The payment's adjustments (a.k.a discounts) total, usually excluding shipping/fulfillment discounts. -
allowAutomaticReversal
boolean allowAutomaticReversal
Whether to allow this transaction to be automatically reversed by payment system's scheduled jobs.Set this field to
false
if this transaction should only be allowed to be reversed by Order Operation Service. -
fulfillmentTotal
javax.money.MonetaryAmount fulfillmentTotal
The payment's total fulfillment cost. -
parentSourceEntityId
String parentSourceEntityId
The id of the parent source entity of the transaction that proceeded this transaction.Note that if this field is not provided, it will retrieve parent transactions from any entity based on
TransactionExecutionRequest.getPaymentId()
andTransactionExecutionRequest.getTransactionType()
. -
parentSourceEntityType
String parentSourceEntityType
The type of the parent source entity of the transaction that proceeded this transaction. This is used to identify the parent transactions within the same entity.For example, the execution of a refund transaction requires a proceeding capture or authorize and capture transaction. Let's say the proceeding capture transaction has the source entity type of
ORDER_FULFILLMENT
, and the refund transaction has the entity source type ofRETURN_CONFIRMATION
. In this case, the refund transaction request needs the parent source entity type ofORDER_FULFILLMENT
and its id in order to identify the parent capture transaction.Note that if this field is not provided, it will retrieve parent transactions from any entity based on
TransactionExecutionRequest.getPaymentId()
andTransactionExecutionRequest.getTransactionType()
. -
paymentId
String paymentId
The id of the related payment that is meant to be used for the transaction. -
requestId
String requestId
The id representing the customer's request to execute one or more transactions. -
securityCode
String securityCode
The payment method security code that may be required to execute the transaction. Typically, this value is required to execute transactions against multi-use payment methods to validate that the user is the owner of the payment method. -
source
String source
A simple description of the system that initiated this transaction execution request. -
sourceEntityId
String sourceEntityId
The ID of the source entity associated with the transaction.For example, if
TransactionExecutionRequest.getSourceEntityType()
isORDER_FULFILLMENT
, this would be the ID of theOrderFulfillment
. -
sourceEntityType
String sourceEntityType
The type of the source entity associated with the transaction. For example, "CHECKOUT_REQUEST" or "ORDER_FULFILLMENT". -
subtotal
javax.money.MonetaryAmount subtotal
The payment's total usually excluding adjustments, tax, and shipping. -
taxTotal
javax.money.MonetaryAmount taxTotal
The payment's total tax cost. -
transactionAmount
javax.money.MonetaryAmount transactionAmount
The transaction amount that we're expecting to execute against the payment. This amount must be valid according to what's available for the payment. If specified, the amount details (TransactionExecutionRequest.subtotal
,TransactionExecutionRequest.adjustmentsTotal
,TransactionExecutionRequest.fulfillmentTotal
, &TransactionExecutionRequest.taxTotal
) should sum together to equal this amount. -
transactionType
String transactionType
The type of transaction that is to be executed.- See Also:
-
-
Class com.broadleafcommerce.orderoperation.service.provider.external.domain.payment.TransactionExecutionResponse
class TransactionExecutionResponse extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
adjustmentsTotal
javax.money.MonetaryAmount adjustmentsTotal
The payment's adjustments (a.k.a discounts) total, usually excluding shipping/fulfillment discounts. -
expectedTotalAmount
javax.money.MonetaryAmount expectedTotalAmount
The total amount that we're expecting to be executed against theTransactionExecutionResponse.paymentSummary
, spread across theTransactionExecutionResponse.transactionExecutionDetails
. This amount must be valid according to what's available for theTransactionExecutionResponse.paymentSummary
. If specified, the amount details (TransactionExecutionResponse.subtotal
,TransactionExecutionResponse.adjustmentsTotal
,TransactionExecutionResponse.fulfillmentTotal
, &TransactionExecutionResponse.taxTotal
) should sum together to equal this amount. -
fulfillmentTotal
javax.money.MonetaryAmount fulfillmentTotal
The payment's total fulfillment cost -
paymentSummary
PaymentSummary paymentSummary
The payment's updatedPaymentSummary
representation.This can be null if the payment is archived as a result of a failed transaction.
-
requestId
String requestId
The id representing the customer's request to execute one or more transactions. -
subtotal
javax.money.MonetaryAmount subtotal
The payment's total usually excluding adjustments, tax, and shipping. -
taxTotal
javax.money.MonetaryAmount taxTotal
The payment's total tax cost -
transactionExecutionDetails
List<TransactionExecutionDetail> transactionExecutionDetails
A list ofTransactionExecutionDetails
describing the transactions executed.Typically there will only be multiple transactions being executed if there're multiple parent transactions being executed against. This scenario is very unlikely and not expected out of box for non-refund type transactions, however it is supported.
-
transactionType
String transactionType
The type of transactions that were executed.- See Also:
-
-
Class com.broadleafcommerce.orderoperation.service.provider.external.domain.payment.UnlockPaymentRequest
class UnlockPaymentRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
lockTokens
Collection<String> lockTokens
List of tokens that can be used to release payment locks.
-
-
-
Package com.broadleafcommerce.orderoperation.web.endpoint.domain
-
Class com.broadleafcommerce.orderoperation.web.endpoint.domain.CancelReturnRequest
class CancelReturnRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
returnAuthorizationId
String returnAuthorizationId
The ID of theReturnAuthorization
to be cancelled.
-
-
Class com.broadleafcommerce.orderoperation.web.endpoint.domain.ConfirmReturnItemRequest
class ConfirmReturnItemRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
condition
String condition
The actual condition of the returned item received.This is usually populated from an enum.
-
note
String note
An optional note containing extra information about the item being returned. -
orderFulfillmentItemId
String orderFulfillmentItemId
The context ID of theOrderFulfillmentItem
returned.This provides an association with the
ReturnAuthorizationItem
returned, viaReturnAuthorizationItem.getOrderFulfillmentItemId()
. -
overrideTotalToRefund
javax.money.MonetaryAmount overrideTotalToRefund
The overridden grand total to refund. -
quantity
int quantity
The quantity of the item returned. -
refundFulfillmentCharge
boolean refundFulfillmentCharge
Whether the fulfillment charge should be refunded.
-
-
Class com.broadleafcommerce.orderoperation.web.endpoint.domain.ConfirmReturnRequest
class ConfirmReturnRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
items
List<ConfirmReturnItemRequest> items
The items which have been returned. -
returnAuthorizationId
String returnAuthorizationId
The ID of theReturnAuthorization
which contains the items which have been returned.
-
-
Class com.broadleafcommerce.orderoperation.web.endpoint.domain.ReturnItemRequest
class ReturnItemRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
expectedCondition
String expectedCondition
The condition of the item expected when returned.This is usually populated from an enum.
-
note
String note
An optional note containing extra information about the item to return. -
orderFulfillmentItemId
String orderFulfillmentItemId
The context ID of theOrderFulfillmentItem
to return. -
primaryReturnReason
String primaryReturnReason
The primary reason for the return.This is usually populated from an enum.
-
quantity
Integer quantity
The quantity of the item to return. -
returnType
String returnType
The type of the return, indicating how it should be processed.This is usually populated from an enum. For example,
REFUND
might indicate that this return should result in a refund. -
secondaryReturnReason
String secondaryReturnReason
The secondary reason for the return, providing more detail in addition to theReturnItemRequest.primaryReturnReason
.This is usually populated from an enum associated with the
ReturnItemRequest.primaryReturnReason
.
-
-
Class com.broadleafcommerce.orderoperation.web.endpoint.domain.ReturnRequest
class ReturnRequest extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
items
List<ReturnItemRequest> items
The items to return.
-
-