Class PassthroughPaymentConfigurationImpl
java.lang.Object
org.broadleafcommerce.common.payment.service.AbstractPaymentGatewayConfiguration
org.broadleafcommerce.core.checkout.service.gateway.PassthroughPaymentConfigurationImpl
- All Implemented Interfaces:
PaymentGatewayConfiguration
@Service("blPassthroughPaymentConfiguration")
public class PassthroughPaymentConfigurationImpl
extends AbstractPaymentGatewayConfiguration
A Default Configuration to handle Passthrough Payments, for example COD payments.
- Author:
- Elbert Bautista (elbertbautista)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetFailureReportingThreshold(int failureReportingThreshold) voidsetPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture)
-
Field Details
-
failureReportingThreshold
protected int failureReportingThreshold -
performAuthorizeAndCapture
protected boolean performAuthorizeAndCapture
-
-
Constructor Details
-
PassthroughPaymentConfigurationImpl
public PassthroughPaymentConfigurationImpl()
-
-
Method Details
-
isPerformAuthorizeAndCapture
public boolean isPerformAuthorizeAndCapture()- Specified by:
isPerformAuthorizeAndCapturein interfacePaymentGatewayConfiguration- Overrides:
isPerformAuthorizeAndCapturein classAbstractPaymentGatewayConfiguration
-
setPerformAuthorizeAndCapture
public void setPerformAuthorizeAndCapture(boolean performAuthorizeAndCapture) - Specified by:
setPerformAuthorizeAndCapturein interfacePaymentGatewayConfiguration- Overrides:
setPerformAuthorizeAndCapturein classAbstractPaymentGatewayConfiguration
-
getFailureReportingThreshold
public int getFailureReportingThreshold()- Specified by:
getFailureReportingThresholdin interfacePaymentGatewayConfiguration- Overrides:
getFailureReportingThresholdin classAbstractPaymentGatewayConfiguration
-
setFailureReportingThreshold
public void setFailureReportingThreshold(int failureReportingThreshold) - Specified by:
setFailureReportingThresholdin interfacePaymentGatewayConfiguration- Overrides:
setFailureReportingThresholdin classAbstractPaymentGatewayConfiguration
-
handlesAuthorize
public boolean handlesAuthorize()- Specified by:
handlesAuthorizein interfacePaymentGatewayConfiguration- Overrides:
handlesAuthorizein classAbstractPaymentGatewayConfiguration
-
handlesCapture
public boolean handlesCapture()- Specified by:
handlesCapturein interfacePaymentGatewayConfiguration- Overrides:
handlesCapturein classAbstractPaymentGatewayConfiguration
-
handlesAuthorizeAndCapture
public boolean handlesAuthorizeAndCapture()- Specified by:
handlesAuthorizeAndCapturein interfacePaymentGatewayConfiguration- Overrides:
handlesAuthorizeAndCapturein classAbstractPaymentGatewayConfiguration
-
handlesReverseAuthorize
public boolean handlesReverseAuthorize()- Specified by:
handlesReverseAuthorizein interfacePaymentGatewayConfiguration- Overrides:
handlesReverseAuthorizein classAbstractPaymentGatewayConfiguration
-
handlesVoid
public boolean handlesVoid()- Specified by:
handlesVoidin interfacePaymentGatewayConfiguration- Overrides:
handlesVoidin classAbstractPaymentGatewayConfiguration
-
handlesRefund
public boolean handlesRefund()- Specified by:
handlesRefundin interfacePaymentGatewayConfiguration- Overrides:
handlesRefundin classAbstractPaymentGatewayConfiguration
-
handlesPartialCapture
public boolean handlesPartialCapture()- Specified by:
handlesPartialCapturein interfacePaymentGatewayConfiguration- Overrides:
handlesPartialCapturein classAbstractPaymentGatewayConfiguration
-
handlesMultipleShipment
public boolean handlesMultipleShipment()- Specified by:
handlesMultipleShipmentin interfacePaymentGatewayConfiguration- Overrides:
handlesMultipleShipmentin classAbstractPaymentGatewayConfiguration
-
handlesRecurringPayment
public boolean handlesRecurringPayment()- Specified by:
handlesRecurringPaymentin interfacePaymentGatewayConfiguration- Overrides:
handlesRecurringPaymentin classAbstractPaymentGatewayConfiguration
-
handlesSavedCustomerPayment
public boolean handlesSavedCustomerPayment()- Specified by:
handlesSavedCustomerPaymentin interfacePaymentGatewayConfiguration- Overrides:
handlesSavedCustomerPaymentin classAbstractPaymentGatewayConfiguration
-
handlesMultiplePayments
public boolean handlesMultiplePayments()- Specified by:
handlesMultiplePaymentsin interfacePaymentGatewayConfiguration- Overrides:
handlesMultiplePaymentsin classAbstractPaymentGatewayConfiguration
-
getGatewayType
- Specified by:
getGatewayTypein interfacePaymentGatewayConfiguration- Overrides:
getGatewayTypein classAbstractPaymentGatewayConfiguration
-