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 -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<Map<String,String>, CreateSubscriptionResult> interpretResponse(Map<String, String> responseParams, String clientRef, Map<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<Map<String, String>, CreateSubscriptionResult> createSubscriptionResultConverter) Methods inherited from class de.hybris.platform.acceleratorservices.payment.strategies.impl.AbstractPaymentResponseInterpretationStrategy
getOrCreatePaymentErrorField, parseMissingFields
-
Constructor Details
-
HopPaymentResponseInterpretationStrategy
public HopPaymentResponseInterpretationStrategy()
-
-
Method Details
-
interpretResponse
public CreateSubscriptionResult interpretResponse(Map<String, String> responseParams, String clientRef, Map<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<Map<String,String>, getCreateSubscriptionResultConverter()CreateSubscriptionResult> -
setCreateSubscriptionResultConverter
public void setCreateSubscriptionResultConverter(Converter<Map<String, String>, CreateSubscriptionResult> createSubscriptionResultConverter)
-