Class TransactionLookupRequest
java.lang.Object
com.broadleafcommerce.paymentgateway.domain.TransactionLookupRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
javax.money.MonetaryAmount
The amount related to this transaction.Map of additional attributes that can be used to identify the transaction.The timestamp when this transaction response was recordedThe gateway-specific id for the transaction.The type of this transaction, as described by the gateway.getId()
The id of the Broadleaf transaction.The id of the related Broadleaf payment.The id used to represent the request that produced this transaction.The ID of the source entity associated with the transaction.The type of the source entity associated with the transaction.The transaction id known by the payment gateway.getType()
The type of this transaction (authorize, capture, refund, etc.)int
hashCode()
void
setAmount
(javax.money.MonetaryAmount amount) The amount related to this transaction.void
setAttributes
(Map<String, String> attributes) Map of additional attributes that can be used to identify the transaction.void
setDateRecorded
(Instant dateRecorded) The timestamp when this transaction response was recordedvoid
setGatewayTransactionId
(String gatewayTransactionId) The gateway-specific id for the transaction.void
setGatewayTransactionType
(String gatewayTransactionType) The type of this transaction, as described by the gateway.void
The id of the Broadleaf transaction.void
setPaymentId
(String paymentId) The id of the related Broadleaf payment.void
setRequestId
(String requestId) The id used to represent the request that produced this transaction.void
setSourceEntityId
(String sourceEntityId) The ID of the source entity associated with the transaction.void
setSourceEntityType
(String sourceEntityType) The type of the source entity associated with the transaction.void
setTransactionReferenceId
(String transactionReferenceId) The transaction id known by the payment gateway.void
The type of this transaction (authorize, capture, refund, etc.)toString()
-
Constructor Details
-
TransactionLookupRequest
public TransactionLookupRequest()
-
-
Method Details
-
getId
The id of the Broadleaf transaction.- Returns:
- The id of the Broadleaf transaction.
-
getPaymentId
The id of the related Broadleaf payment.- Returns:
- The id of the related Broadleaf payment.
-
getType
The type of this transaction (authorize, capture, refund, etc.)- Returns:
- The type of this transaction (authorize, capture, refund, etc.)
-
getGatewayTransactionType
The type of this transaction, as described by the gateway.- Returns:
- The type of this transaction, as described by the gateway.
-
getTransactionReferenceId
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.- Returns:
- The transaction id known by the payment gateway
-
getGatewayTransactionId
The gateway-specific id for the transaction.- Returns:
- The gateway-specific id for the transaction
-
getSourceEntityType
The type of the source entity associated with the transaction. For example, "CHECKOUT_REQUEST" or "ORDER_FULFILLMENT".- Returns:
- The type of the source entity associated with the transaction
-
getSourceEntityId
The ID of the source entity associated with the transaction.For example, if
getSourceEntityType()
isORDER_FULFILLMENT
, this would be the ID of theOrderFulfillment
.- Returns:
- The ID of the source entity associated with the transaction
- See Also:
-
getRequestId
The id used to represent the request that produced this transaction.- Returns:
- The id used to represent the request that produced this transaction
-
getAmount
public javax.money.MonetaryAmount getAmount()The amount related to this transaction. Depending on thetype
, this may be the amount authorized, captured, refunded, etc.- Returns:
- The amount related to this transaction
-
getDateRecorded
The timestamp when this transaction response was recorded- Returns:
- The timestamp when this transaction response was recorded
-
getAttributes
Map of additional attributes that can be used to identify the transaction.- Returns:
- Map of additional attributes that can be used to identify the transaction.
-
setId
The id of the Broadleaf transaction.- Parameters:
id
- The id of the Broadleaf transaction.
-
setPaymentId
The id of the related Broadleaf payment.- Parameters:
paymentId
- The id of the related Broadleaf payment.
-
setType
The type of this transaction (authorize, capture, refund, etc.)- Parameters:
type
- The type of this transaction
-
setGatewayTransactionType
The type of this transaction, as described by the gateway.- Parameters:
gatewayTransactionType
- The type of this transaction, as described by the gateway.
-
setTransactionReferenceId
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.- Parameters:
transactionReferenceId
- The transaction id known by the payment gateway
-
setGatewayTransactionId
The gateway-specific id for the transaction.- Parameters:
gatewayTransactionId
- The gateway-specific id for the transaction
-
setSourceEntityType
The type of the source entity associated with the transaction. For example, "CHECKOUT_REQUEST" or "ORDER_FULFILLMENT".- Parameters:
sourceEntityType
- The type of the source entity associated with the transaction
-
setSourceEntityId
The ID of the source entity associated with the transaction.For example, if
getSourceEntityType()
isORDER_FULFILLMENT
, this would be the ID of theOrderFulfillment
.- Parameters:
sourceEntityId
- The ID of the source entity associated with the transaction- See Also:
-
setRequestId
The id used to represent the request that produced this transaction.- Parameters:
requestId
- The id used to represent the request that produced this transaction
-
setAmount
public void setAmount(javax.money.MonetaryAmount amount) The amount related to this transaction. Depending on thetype
, this may be the amount authorized, captured, refunded, etc.- Parameters:
amount
- The amount related to this transaction
-
setDateRecorded
The timestamp when this transaction response was recorded- Parameters:
dateRecorded
- The timestamp when this transaction response was recorded
-
setAttributes
Map of additional attributes that can be used to identify the transaction.- Parameters:
attributes
- Map of additional attributes that can be used to identify the transaction.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-