Class DefaultRefundPaymentTransactionStrategy
java.lang.Object
de.hybris.platform.travelservices.strategies.payment.impl.DefaultRefundPaymentTransactionStrategy
- All Implemented Interfaces:
RefundPaymentTransactionStrategy
public class DefaultRefundPaymentTransactionStrategy
extends Object
implements RefundPaymentTransactionStrategy
Default concrete implementation of
RefundPaymentTransactionStrategy calling the related creation strategy on
each order entry belonging to the given type-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PaymentTransactionEntryCreationStrategyvoidhandleRefund(AbstractOrderModel abstractOrder, OrderEntryType entryType, List<AbstractOrderEntryModel> entries) This method triggers the creation of refund payment transaction entries according with the specific journey it refers tovoidsetDefaultRefundTransactionEntryCreationStrategy(PaymentTransactionEntryCreationStrategy defaultRefundTransactionEntryCreationStrategy)
-
Constructor Details
-
DefaultRefundPaymentTransactionStrategy
public DefaultRefundPaymentTransactionStrategy()
-
-
Method Details
-
handleRefund
public void handleRefund(AbstractOrderModel abstractOrder, OrderEntryType entryType, List<AbstractOrderEntryModel> entries) Description copied from interface:RefundPaymentTransactionStrategyThis method triggers the creation of refund payment transaction entries according with the specific journey it refers to- Specified by:
handleRefundin interfaceRefundPaymentTransactionStrategy
-
getDefaultRefundTransactionEntryCreationStrategy
protected PaymentTransactionEntryCreationStrategy getDefaultRefundTransactionEntryCreationStrategy()- Returns:
- the defaultRefundTransactionEntryCreationStrategy
-
setDefaultRefundTransactionEntryCreationStrategy
public void setDefaultRefundTransactionEntryCreationStrategy(PaymentTransactionEntryCreationStrategy defaultRefundTransactionEntryCreationStrategy) - Parameters:
defaultRefundTransactionEntryCreationStrategy- the defaultRefundTransactionEntryCreationStrategy to set
-