Class LastPaymentStatus

java.lang.Object
org.broadleafcommerce.profile.core.domain.LastPaymentStatus
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.BroadleafEnumerationType

public class LastPaymentStatus extends Object implements Serializable, org.broadleafcommerce.common.BroadleafEnumerationType
An extendible enumeration representing the status of the last attempted payment in CustomerPayment
Author:
gdiaz
See Also:
  • Field Details

  • Constructor Details

    • LastPaymentStatus

      public LastPaymentStatus()
    • LastPaymentStatus

      public LastPaymentStatus(String type, String friendlyType)
  • Method Details

    • getInstance

      public static LastPaymentStatus getInstance(String type)
    • getType

      public String getType()
      Specified by:
      getType in interface org.broadleafcommerce.common.BroadleafEnumerationType
    • setType

      protected void setType(String type)
    • getFriendlyType

      public String getFriendlyType()
      Specified by:
      getFriendlyType in interface org.broadleafcommerce.common.BroadleafEnumerationType
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object