Class ExpirationSourceInfo

java.lang.Object
com.broadleafcommerce.creditaccount.web.endpoint.domain.ExpirationSourceInfo
All Implemented Interfaces:
Serializable

public class ExpirationSourceInfo extends Object implements Serializable
A request DTO used describe the source of a credit transaction's expiration.
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

    • ExpirationSourceInfo

      public ExpirationSourceInfo()
  • Method Details

    • getRequestId

      public String 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

      public String 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

      public String 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

      public String getSourceEntityId()
      The ID of the source entity associated with the transaction.

      For example, if getSourceEntityType() is ORDER_FULFILLMENT, this would be the ID of the OrderFulfillment.

      Returns:
      The ID of the source entity associated with the transaction
      See Also:
    • setRequestId

      public void setRequestId(String requestId)
      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

      public void setSource(String source)
      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

      public void setSourceEntityType(String sourceEntityType)
      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

      public void setSourceEntityId(String sourceEntityId)
      The ID of the source entity associated with the transaction.

      For example, if getSourceEntityType() is ORDER_FULFILLMENT, this would be the ID of the OrderFulfillment.

      Parameters:
      sourceEntityId - The ID of the source entity associated with the transaction
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object