org.broadleafcommerce.core.payment.domain
Class PaymentInfoDetailType

java.lang.Object
  extended by 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

Field Summary
static PaymentInfoDetailType CAPTURE
           
static PaymentInfoDetailType REFUND
           
static PaymentInfoDetailType REVERSE_AUTH
           
 
Constructor Summary
PaymentInfoDetailType()
           
PaymentInfoDetailType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static PaymentInfoDetailType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAPTURE

public static final PaymentInfoDetailType CAPTURE

REFUND

public static final PaymentInfoDetailType REFUND

REVERSE_AUTH

public static final PaymentInfoDetailType REVERSE_AUTH
Constructor Detail

PaymentInfoDetailType

public PaymentInfoDetailType()

PaymentInfoDetailType

public PaymentInfoDetailType(String type,
                             String friendlyType)
Method Detail

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.