Class CisPaymentResponseInterpretationStrategy
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.payment.strategies.impl.AbstractPaymentResponseInterpretationStrategy
-
- de.hybris.platform.integration.cis.payment.strategies.impl.CisPaymentResponseInterpretationStrategy
-
- All Implemented Interfaces:
PaymentResponseInterpretationStrategy
public class CisPaymentResponseInterpretationStrategy extends AbstractPaymentResponseInterpretationStrategy
CIS specific payment-profile-creation response interpretation strategy.
-
-
Constructor Summary
Constructors Constructor Description CisPaymentResponseInterpretationStrategy()
-
Method Summary
-
Methods inherited from class de.hybris.platform.acceleratorservices.payment.strategies.impl.AbstractPaymentResponseInterpretationStrategy
getOrCreatePaymentErrorField, parseMissingFields
-
-
-
-
Method Detail
-
interpretResponse
public CreateSubscriptionResult interpretResponse(java.util.Map<java.lang.String,java.lang.String> responseParams, java.lang.String clientRef, java.util.Map<java.lang.String,PaymentErrorField> errors)
Description copied from interface:PaymentResponseInterpretationStrategyThis method defines how to interpret aCreateSubscriptionResultthat represents the set of parameters returned from of a profile creation request with an external payment service.- Parameters:
responseParams- - The response params necessary to complete payment profile creation with an external service.clientRef- - Unique identifier representing the client in a call to external services.errors- - Map of payment details errors populated by external service.
-
getCisClientPaymentService
protected CisClientPaymentService getCisClientPaymentService()
-
setCisClientPaymentService
public void setCisClientPaymentService(CisClientPaymentService cisClientPaymentService)
-
getCisCreateSubscriptionResultConverter
protected Converter<CisPaymentProfileResult,CreateSubscriptionResult> getCisCreateSubscriptionResultConverter()
-
setCisCreateSubscriptionResultConverter
public void setCisCreateSubscriptionResultConverter(Converter<CisPaymentProfileResult,CreateSubscriptionResult> cisCreateSubscriptionResultConverter)
-
getPaymentResponseInterpretationStrategy
protected PaymentResponseInterpretationStrategy getPaymentResponseInterpretationStrategy()
-
setPaymentResponseInterpretationStrategy
public void setPaymentResponseInterpretationStrategy(PaymentResponseInterpretationStrategy paymentResponseInterpretationStrategy)
-
-