Class DefaultCardPaymentServiceImpl
java.lang.Object
de.hybris.platform.payment.methods.impl.DefaultCardPaymentServiceImpl
- All Implemented Interfaces:
CardPaymentService,PaymentMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorize(AuthorizationRequest request) authorize card paymentauthorize card paymentcapture(CaptureRequest request) capture card paymentCreates an account at the payment providerDeletes the account at the payment providerenrollmentCheck(EnrollmentCheckRequest request) 3D secure enrollment checkGets data from the account at the payment providerpartialCapture(PartialCaptureRequest request) partial capture card paymentrefundFollowOn(FollowOnRefundRequest request) Refunds money to customer based on previous transaction.refundStandalone(StandaloneRefundRequest request) Refunds money to customer not based on previous transaction.voidsetCommandFactoryRegistry(CommandFactoryRegistry commandFactoryRegistry) Updated an account at the payment providervoidCreditOrCapture(VoidRequest request) Void a credit or capture.
-
Constructor Details
-
DefaultCardPaymentServiceImpl
public DefaultCardPaymentServiceImpl()
-
-
Method Details
-
authorize
Description copied from interface:CardPaymentServiceauthorize card payment- Specified by:
authorizein interfaceCardPaymentService- Parameters:
request- instance ofAuthorizationRequest- Returns:
- authorization result
-
authorize
Description copied from interface:CardPaymentServiceauthorize card payment- Specified by:
authorizein interfaceCardPaymentService- Parameters:
request- instance ofSubscriptionAuthorizationRequest- Returns:
- authorization result
-
capture
Description copied from interface:CardPaymentServicecapture card payment- Specified by:
capturein interfaceCardPaymentService- Parameters:
request- instance ofCaptureRequest- Returns:
- Capture result.
-
partialCapture
Description copied from interface:CardPaymentServicepartial capture card payment- Specified by:
partialCapturein interfaceCardPaymentService- Parameters:
request- instance ofPartialCaptureRequest- Returns:
- Capture result.
-
enrollmentCheck
Description copied from interface:CardPaymentService3D secure enrollment check- Specified by:
enrollmentCheckin interfaceCardPaymentService- Parameters:
request- instance ofEnrollmentCheckRequest- Returns:
- enrollment check result
-
refundFollowOn
Description copied from interface:CardPaymentServiceRefunds money to customer based on previous transaction.- Specified by:
refundFollowOnin interfaceCardPaymentService- Parameters:
request- instance ofFollowOnRefundRequest- Returns:
- refund follow on result
-
refundStandalone
Description copied from interface:CardPaymentServiceRefunds money to customer not based on previous transaction.- Specified by:
refundStandalonein interfaceCardPaymentService- Parameters:
request- instance ofStandaloneRefundRequest- Returns:
- refund standalone
-
voidCreditOrCapture
Description copied from interface:CardPaymentServiceVoid a credit or capture.- Specified by:
voidCreditOrCapturein interfaceCardPaymentService- Parameters:
request- instance ofVoidRequest- Returns:
- void credit or capture result
-
createSubscription
Description copied from interface:CardPaymentServiceCreates an account at the payment provider- Specified by:
createSubscriptionin interfaceCardPaymentService- Parameters:
request- instance ofCreateSubscriptionRequest- Returns:
- subscription result object (instance of
SubscriptionResult)
-
updateSubscription
Description copied from interface:CardPaymentServiceUpdated an account at the payment provider- Specified by:
updateSubscriptionin interfaceCardPaymentService- Parameters:
request- instance ofUpdateSubscriptionRequest- Returns:
- subscription result object (instance of
SubscriptionResult)
-
getSubscriptionData
Description copied from interface:CardPaymentServiceGets data from the account at the payment provider- Specified by:
getSubscriptionDatain interfaceCardPaymentService- Parameters:
request- instance ofSubscriptionDataRequest- Returns:
- subscription data result object (instance of
SubscriptionDataResult)
-
deleteSubscription
Description copied from interface:CardPaymentServiceDeletes the account at the payment provider- Specified by:
deleteSubscriptionin interfaceCardPaymentService- Parameters:
request- instance ofDeleteSubscriptionRequest- Returns:
- subscription result object (instance of
SubscriptionResult)
-
getCommandFactoryRegistry
-
setCommandFactoryRegistry
- Parameters:
commandFactoryRegistry- the commandFactoryRegistry to set
-