Class HopPaymentResponseInterpretationStrategy
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.payment.strategies.impl.AbstractPaymentResponseInterpretationStrategy
-
- de.hybris.platform.acceleratorservices.payment.cybersource.strategies.impl.HopPaymentResponseInterpretationStrategy
-
- All Implemented Interfaces:
PaymentResponseInterpretationStrategy
public class HopPaymentResponseInterpretationStrategy extends AbstractPaymentResponseInterpretationStrategy
Hosted order page impl of payment response.
-
-
Constructor Summary
Constructors Constructor Description HopPaymentResponseInterpretationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<java.util.Map<java.lang.String,java.lang.String>,CreateSubscriptionResult>getCreateSubscriptionResultConverter()CreateSubscriptionResultinterpretResponse(java.util.Map<java.lang.String,java.lang.String> responseParams, java.lang.String clientRef, java.util.Map<java.lang.String,PaymentErrorField> errors)This method defines how to interpret aCreateSubscriptionResultthat represents the set of parameters returned from of a profile creation request with an external payment service.voidsetCreateSubscriptionResultConverter(Converter<java.util.Map<java.lang.String,java.lang.String>,CreateSubscriptionResult> createSubscriptionResultConverter)-
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.
-
getCreateSubscriptionResultConverter
protected Converter<java.util.Map<java.lang.String,java.lang.String>,CreateSubscriptionResult> getCreateSubscriptionResultConverter()
-
setCreateSubscriptionResultConverter
public void setCreateSubscriptionResultConverter(Converter<java.util.Map<java.lang.String,java.lang.String>,CreateSubscriptionResult> createSubscriptionResultConverter)
-
-