Class ExpirationSourceInfo
java.lang.Object
com.broadleafcommerce.creditaccount.web.endpoint.domain.ExpirationSourceInfo
- All Implemented Interfaces:
Serializable
A request DTO used describe the source of a credit transaction's expiration.
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The id used to represent the request that produced the expiration transaction.The name of the system that initiated the transaction - e.g.The ID of the source entity associated with the transaction.The type of the source entity associated with the transaction.int
hashCode()
void
setRequestId
(String requestId) The id used to represent the request that produced the expiration transaction.void
The name of the system that initiated the transaction - e.g.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.toString()
-
Constructor Details
-
ExpirationSourceInfo
public ExpirationSourceInfo()
-
-
Method Details
-
getRequestId
The id used to represent the request that produced the expiration transaction.- Returns:
- The id used to represent the request that produced the expiration transaction.
-
getSource
The name of the system that initiated the transaction - e.g. CART_OPERATION_SERVICES vs ORDER_OPERATION_SERVICES.- Returns:
- The name of the system that initiated 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
- See Also:
-
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:
-
setRequestId
The id used to represent the request that produced the expiration transaction.- Parameters:
requestId
- The id used to represent the request that produced the expiration transaction.
-
setSource
The name of the system that initiated the transaction - e.g. CART_OPERATION_SERVICES vs ORDER_OPERATION_SERVICES.- Parameters:
source
- The name of the system that initiated 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- See Also:
-
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:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-