|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.alcs.domain.impl.AbstractEpDomainImpl
com.bea.alcs.domain.impl.AbstractPersistenceImpl
com.bea.alcs.domain.impl.AbstractValueObjectImpl
com.bea.alcs.domain.payment.impl.AbstractPaymentGatewayImpl
com.bea.alcs.domain.payment.impl.ExchangePaymentGatewayImpl
public class ExchangePaymentGatewayImpl
Payment gateway for Exchange order.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Fields inherited from class com.bea.alcs.domain.payment.impl.AbstractPaymentGatewayImpl |
|---|
TABLE_NAME |
| Fields inherited from class com.bea.alcs.domain.impl.AbstractPersistenceImpl |
|---|
DECIMAL_PRECISION, DECIMAL_SCALE |
| Constructor Summary | |
|---|---|
ExchangePaymentGatewayImpl()
|
|
| Method Summary | |
|---|---|
void |
capture(OrderPayment orderPayment)
Captures a payment on a previously authorized amount. |
protected java.util.Set<java.lang.String> |
getDefaultPropertyKeys()
Gets the list of default property keys for a payment gateway. |
PaymentType |
getPaymentType()
Get the type of this payment gateway. |
java.lang.String |
getType()
Return the type of this payment gateway - accessor for the discriminator value. |
void |
preAuthorize(OrderPayment orderPayment,
Address billingAddress)
Pre-authorize a payment. |
void |
refund(OrderPayment payment,
Address billingAddress)
Refunds a previous capture. |
void |
reversePreAuthorization(OrderPayment orderPayment)
Reverse a previous pre-authorization. |
void |
sale(OrderPayment orderPayment,
Address billingAddress)
Make a payment without pre-authorization. |
protected void |
setType(java.lang.String type)
Set the type of this payment gateway. |
void |
voidCaptureOrCredit(OrderPayment orderPayment)
Void a previous capture or credit. |
| Methods inherited from class com.bea.alcs.domain.payment.impl.AbstractPaymentGatewayImpl |
|---|
buildProperties, finalizeShipment, getName, getPropertiesMap, getSupportedCurrencies, getUidPk, isEmpty, mergeProperties, setName, setProperties, setPropertiesMap, setSupportedCurrencies, setUidPk |
| Methods inherited from class com.bea.alcs.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, isPersistent |
| Methods inherited from class com.bea.alcs.domain.impl.AbstractEpDomainImpl |
|---|
getBooleanHashCode, getElasticPath, getObjectHashCode, getUtility, setDefaultValues, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bea.alcs.domain.payment.PaymentGateway |
|---|
buildProperties, finalizeShipment, getName, getPropertiesMap, getSupportedCurrencies, mergeProperties, setName, setProperties, setPropertiesMap, setSupportedCurrencies |
| Methods inherited from interface com.bea.alcs.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setUidPk |
| Methods inherited from interface com.bea.alcs.domain.EpDomain |
|---|
getElasticPath, getUtility, setDefaultValues, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ExchangePaymentGatewayImpl()
| Method Detail |
|---|
public java.lang.String getType()
getType in interface PaymentGatewayprotected void setType(java.lang.String type)
type - the type to setpublic PaymentType getPaymentType()
getPaymentType in interface PaymentGateway
public void preAuthorize(OrderPayment orderPayment,
Address billingAddress)
preAuthorize in interface PaymentGatewayorderPayment - the order payment to be preauthorizedbillingAddress - the name and address of the person being billed
PaymentGatewayException - if the payment processing failspublic void capture(OrderPayment orderPayment)
capture in interface PaymentGatewayorderPayment - the payment to be captured
PaymentGatewayException - if the payment processing fails
public void sale(OrderPayment orderPayment,
Address billingAddress)
sale in interface PaymentGatewayorderPayment - the payment to be preauthorizedbillingAddress - the name and address of the person being billed
PaymentGatewayException - if the payment processing failspublic void voidCaptureOrCredit(OrderPayment orderPayment)
voidCaptureOrCredit in interface PaymentGatewayorderPayment - the payment to be voided
public void refund(OrderPayment payment,
Address billingAddress)
refund in interface PaymentGatewayrefund in class AbstractPaymentGatewayImplpayment - the payment to be refundedbillingAddress - billing addresspublic void reversePreAuthorization(OrderPayment orderPayment)
reversePreAuthorization in interface PaymentGatewayorderPayment - the payment that was previously pre-authorizedprotected java.util.Set<java.lang.String> getDefaultPropertyKeys()
getDefaultPropertyKeys in class AbstractPaymentGatewayImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||