org.broadleafcommerce.core.payment.domain
Class PaymentInfoDetailType
java.lang.Object
org.broadleafcommerce.core.payment.domain.PaymentInfoDetailType
- All Implemented Interfaces:
- Serializable, BroadleafEnumerationType
public class PaymentInfoDetailType
- extends Object
- implements Serializable, BroadleafEnumerationType
The PaymentInfoDetailType is used to represent in Broadleaf the the type of action used by the payment provider.
The following types are used for transactions.
CAPTURE - Funds have been charged, submitted or debited.
REFUND - Funds have been refunded or credited.
REVERSE_AUTH - Funds have been reverse authorized; this concept is used by credit card payment processors where funds
are first authorized to later be captured.
- Author:
- Jerry Ocanas (jocanas)
- See Also:
- Serialized Form
CAPTURE
public static final PaymentInfoDetailType CAPTURE
REFUND
public static final PaymentInfoDetailType REFUND
REVERSE_AUTH
public static final PaymentInfoDetailType REVERSE_AUTH
PaymentInfoDetailType
public PaymentInfoDetailType()
PaymentInfoDetailType
public PaymentInfoDetailType(String type,
String friendlyType)
getInstance
public static PaymentInfoDetailType getInstance(String type)
getType
public String getType()
- Specified by:
getType in interface BroadleafEnumerationType
getFriendlyType
public String getFriendlyType()
- Specified by:
getFriendlyType in interface BroadleafEnumerationType
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013. All Rights Reserved.